* @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\Product\Supplier\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Command\SetSuppliersCommand; use PrestaShop\PrestaShop\Core\Domain\Product\Supplier\ValueObject\ProductSupplierAssociation; /** * Defines contract to handle @see SetSuppliersCommand */ interface SetSuppliersHandlerInterface { /** * @param SetSuppliersCommand $command * * @return ProductSupplierAssociation[] */ public function handle(SetSuppliersCommand $command): array; }