1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
PropertyFactory.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\v2\Property;
4
5use Bitrix\Catalog\v2\IoC\ContainerContract;
6
16{
17 public const PROPERTY = Property::class;
18 public const PROPERTY_COLLECTION = PropertyCollection::class;
19
20 protected $container;
21
28 {
29 $this->container = $container;
30 }
31
35 public function createEntity(): Property
36 {
37 return $this->container->make(self::PROPERTY);
38 }
39
44 {
45 return $this->container->make(self::PROPERTY_COLLECTION);
46 }
47}
__construct(ContainerContract $container)
Определения PropertyFactory.php:27