* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\State\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\State\Command\AddStateCommand; use PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId; interface AddStateHandlerInterface { /** * @param AddStateCommand $command * * @return StateId */ public function handle(AddStateCommand $command): StateId; }