File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/sale/lib/exchange/basetrait.php
Back
<?php namespace Bitrix\Sale\Exchange; use Bitrix\Sale\Exchange\Entity\EntityImportFactory; use Bitrix\Sale\Exchange\OneC\Converter; use Bitrix\Sale\Exchange\OneC\ConverterFactory; use Bitrix\Sale\Exchange\OneC\DocumentBase; use Bitrix\Sale\Exchange\OneC\DocumentImportFactory; trait BaseTrait { /** * @param $typeId * @return DocumentBase */ protected function documentFactoryCreate($typeId) { return DocumentImportFactory::create($typeId); } /** * @param $typeId * @return Converter */ protected function converterFactoryCreate($typeId) { return ConverterFactory::create($typeId); } /** * @param $typeId * @return ImportBase */ protected function entityFactoryCreate($typeId) { return EntityImportFactory::create($typeId); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings