1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Dependency.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\v2\IoC;
4
5use Bitrix\Catalog\v2\Converter\ProductConverter;
6use Bitrix\Catalog\v2\Facade\Repository;
7use Bitrix\Catalog\v2\Iblock\IblockInfo;
8use Bitrix\Catalog\v2\MeasureRatio\MeasureRatioFactory;
9use Bitrix\Catalog\v2\MeasureRatio\MeasureRatioRepositoryContract;
10use Bitrix\Catalog\v2\Price\PriceFactory;
11use Bitrix\Catalog\v2\Price\PriceRepositoryContract;
12use Bitrix\Catalog\v2\Image\ImageFactory;
13use Bitrix\Catalog\v2\Image\ImageRepositoryContract;
14use Bitrix\Catalog\v2\Product\ProductFactory;
15use Bitrix\Catalog\v2\Product\ProductRepositoryContract;
16use Bitrix\Catalog\v2\Property\PropertyFactory;
17use Bitrix\Catalog\v2\Property\PropertyRepositoryContract;
18use Bitrix\Catalog\v2\PropertyValue\PropertyValueFactory;
19use Bitrix\Catalog\v2\PropertyFeature\PropertyFeatureRepositoryContract;
20use Bitrix\Catalog\v2\PropertyFeature\PropertyFeatureFactory;
21use Bitrix\Catalog\v2\Section\SectionFactory;
22use Bitrix\Catalog\v2\Section\SectionRepositoryContract;
23use Bitrix\Catalog\v2\Sku\SkuFactory;
24use Bitrix\Catalog\v2\Sku\SkuRepositoryContract;
25use Bitrix\Catalog\v2\Barcode\BarcodeFactory;
26use Bitrix\Catalog\v2\Barcode\BarcodeRepositoryContract;
27use Bitrix\Catalog\v2\StoreProduct\StoreProductFactory;
28use Bitrix\Catalog\v2\StoreProduct\StoreProductRepositoryContract;
29use Bitrix\Main\NotSupportedException;
30
39final class Dependency
40{
41 public const CONTAINER = ContainerContract::class;
42 public const IBLOCK_INFO = IblockInfo::class;
43 public const PRODUCT_CONVERTER = ProductConverter::class;
44 public const REPOSITORY_FACADE = Repository::class;
45
46 public const PRODUCT_FACTORY = ProductFactory::class;
47 public const PRODUCT_REPOSITORY = ProductRepositoryContract::class;
48
49 public const SECTION_FACTORY = SectionFactory::class;
50 public const SECTION_REPOSITORY = SectionRepositoryContract::class;
51
52 public const SKU_FACTORY = SkuFactory::class;
53 public const SKU_REPOSITORY = SkuRepositoryContract::class;
54
55 public const PROPERTY_FACTORY = PropertyFactory::class;
56 public const PROPERTY_REPOSITORY = PropertyRepositoryContract::class;
57
58 public const PROPERTY_VALUE_FACTORY = PropertyValueFactory::class;
59
60 public const PROPERTY_FEATURE_FACTORY = PropertyFeatureFactory::class;
61 public const PROPERTY_FEATURE_REPOSITORY = PropertyFeatureRepositoryContract::class;
62
63 public const PRICE_FACTORY = PriceFactory::class;
64 public const PRICE_REPOSITORY = PriceRepositoryContract::class;
65
66 public const IMAGE_FACTORY = ImageFactory::class;
67 public const IMAGE_REPOSITORY = ImageRepositoryContract::class;
68
69 public const MEASURE_RATIO_FACTORY = MeasureRatioFactory::class;
70 public const MEASURE_RATIO_REPOSITORY = MeasureRatioRepositoryContract::class;
71
72 public const BARCODE_FACTORY = BarcodeFactory::class;
73 public const BARCODE_REPOSITORY = BarcodeRepositoryContract::class;
74
75 public const STORE_PRODUCT_FACTORY = StoreProductFactory::class;
76 public const STORE_PRODUCT_REPOSITORY = StoreProductRepositoryContract::class;
77
78 private function __construct()
79 {
80 throw new NotSupportedException(sprintf(
81 'Class {%s} can not be constructed.', static::class
82 ));
83 }
84}
const SECTION_FACTORY
Определения Dependency.php:49
const MEASURE_RATIO_REPOSITORY
Определения Dependency.php:70
const PRODUCT_CONVERTER
Определения Dependency.php:43
const PRICE_FACTORY
Определения Dependency.php:63
const PROPERTY_REPOSITORY
Определения Dependency.php:56
const PROPERTY_FEATURE_REPOSITORY
Определения Dependency.php:61
const IMAGE_FACTORY
Определения Dependency.php:66
const PROPERTY_FACTORY
Определения Dependency.php:55
const PROPERTY_VALUE_FACTORY
Определения Dependency.php:58
const STORE_PRODUCT_FACTORY
Определения Dependency.php:75
const BARCODE_FACTORY
Определения Dependency.php:72
const SECTION_REPOSITORY
Определения Dependency.php:50
const STORE_PRODUCT_REPOSITORY
Определения Dependency.php:76
const BARCODE_REPOSITORY
Определения Dependency.php:73
const PROPERTY_FEATURE_FACTORY
Определения Dependency.php:60
const MEASURE_RATIO_FACTORY
Определения Dependency.php:69
const PRODUCT_FACTORY
Определения Dependency.php:46
const REPOSITORY_FACADE
Определения Dependency.php:44
const PRODUCT_REPOSITORY
Определения Dependency.php:47
const SKU_REPOSITORY
Определения Dependency.php:53
const IMAGE_REPOSITORY
Определения Dependency.php:67
const PRICE_REPOSITORY
Определения Dependency.php:64