Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ServiceContainer

Открытые статические члены

static getContainer ()
 
static get ($id, array $args=[])
 
static make ($id, array $args=[])
 
static getIblockInfo (int $iblockId)
 
static getProductFactory (int $iblockId)
 
static getRepositoryFacade ()
 
static getProductRepository (int $iblockId)
 
static getSkuRepository (int $iblockId)
 
static getSkuFactory (int $iblockId)
 

Подробное описание

См. определение в файле ServiceContainer.php строка 21

Методы

◆ get()

static get ( $id,
array $args = [] )
static
Исключения

Bitrix\Main\ObjectNotFoundException

См. определение в файле ServiceContainer.php строка 44

◆ getContainer()

static getContainer ( )
static

См. определение в файле ServiceContainer.php строка 30

◆ getIblockInfo()

static getIblockInfo ( int $iblockId)
static
Аргументы
int$iblockId
Возвращает
\Bitrix\Catalog\v2\Iblock\IblockInfo|null

См. определение в файле ServiceContainer.php строка 61

◆ getProductFactory()

static getProductFactory ( int $iblockId)
static
Аргументы
int$iblockId
Возвращает
\Bitrix\Catalog\v2\Product\ProductFactory|null

См. определение в файле ServiceContainer.php строка 79

◆ getProductRepository()

static getProductRepository ( int $iblockId)
static
Аргументы
int$iblockId
Возвращает
\Bitrix\Catalog\v2\Product\ProductRepositoryContract|null

См. определение в файле ServiceContainer.php строка 105

◆ getRepositoryFacade()

static getRepositoryFacade ( )
static
Возвращает
\Bitrix\Catalog\v2\Facade\Repository

См. определение в файле ServiceContainer.php строка 96

◆ getSkuFactory()

static getSkuFactory ( int $iblockId)
static

SKU factory.

Аргументы
int$iblockId
Возвращает
SkuFactory|null

См. определение в файле ServiceContainer.php строка 144

◆ getSkuRepository()

static getSkuRepository ( int $iblockId)
static
Аргументы
int$iblockId
Возвращает
\Bitrix\Catalog\v2\Sku\SkuRepositoryContract|null

См. определение в файле ServiceContainer.php строка 123

◆ make()

static make ( $id,
array $args = [] )
static
Исключения

Bitrix\Main\ObjectNotFoundException

См. определение в файле ServiceContainer.php строка 52