Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
PropertyValueFactory.php
1<?php
2
4
6
16{
17 public const PROPERTY_VALUE = PropertyValue::class;
18 public const PROPERTY_VALUE_COLLECTION = PropertyValueCollection::class;
19
20 protected $container;
21
28 {
29 $this->container = $container;
30 }
31
35 public function createEntity(): PropertyValue
36 {
37 return $this->container->make(self::PROPERTY_VALUE);
38 }
39
44 {
45 return $this->container->make(self::PROPERTY_VALUE_COLLECTION);
46 }
47}