Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/magento/module-inventory/Model/SourceItem/Command/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-inventory/Model/SourceItem/Command/GetListInterface.php
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\Inventory\Model\SourceItem\Command;

use Magento\Framework\Api\SearchCriteriaInterface;
use Magento\InventoryApi\Api\Data\SourceItemSearchResultsInterface;

/**
 * Find SourceItems by SearchCriteria command (Service Provider Interface - SPI)
 *
 * Separate command interface to which Repository proxies initial GetList call, could be considered as SPI - Interfaces
 * that you should extend and implement to customize current behaviour, but NOT expected to be used (called) in the code
 * of business logic directly
 *
 * We need to have this command for direct work with Source Items because this object contains
 * additional data like as qty, status (for example can de searchable by additional field)
 *
 * @see \Magento\InventoryApi\Api\SourceItemRepositoryInterface
 * @api
 */
interface GetListInterface
{
    /**
     * Find SourceItems by given SearchCriteria
     *
     * @param SearchCriteriaInterface $searchCriteria
     * @return SourceItemSearchResultsInterface
     */
    public function execute(SearchCriteriaInterface $searchCriteria): SourceItemSearchResultsInterface;
}

Spamworldpro Mini