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