Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
basetrait.php
1<?php
3
4
10
11trait BaseTrait
12{
13
18 protected function documentFactoryCreate($typeId)
19 {
20 return DocumentImportFactory::create($typeId);
21 }
22
27 protected function converterFactoryCreate($typeId)
28 {
29 return ConverterFactory::create($typeId);
30 }
31
36 protected function entityFactoryCreate($typeId)
37 {
38 return EntityImportFactory::create($typeId);
39 }
40}