Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SourceRepositoryInterface.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
30 {
39  public function save(\Magento\InventoryApi\Api\Data\SourceInterface $source): void;
40 
49  public function get(string $sourceCode): \Magento\InventoryApi\Api\Data\SourceInterface;
50 
58  public function getList(
59  \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria = null
61 }
getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria=null)
save(\Magento\InventoryApi\Api\Data\SourceInterface $source)
$source
Definition: source.php:23
$searchCriteria
$sourceCode
Definition: inventory.phtml:11