Файловый менеджер - Редактировать - /var/www/axolotl/data/www/axolotls.ru/www/bitrix/modules/im/lib/call/integration/entityfabric.php
Назад
<?php namespace Bitrix\Im\Call\Integration; use Bitrix\Im\Call\Call; use Bitrix\Main\ArgumentException; class EntityFabric { /** * Return proxy object, to access entity, associated with the call. * * @param string $entityType Type of the associated entity. * @param integer $entityId Id of the associated entity. * @return AbstractEntity * @throws ArgumentException */ public static function createEntity(Call $call, $entityType, $entityId) { if($entityType === EntityType::CHAT) { return new Chat($call, $entityId); } throw new ArgumentException("Unknown entity type: " . $entityType); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.8 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка