File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/location/lib/entity/location/fieldcollection.php
Back
<?php namespace Bitrix\Location\Entity\Location; use Bitrix\Main\ArgumentTypeException; /** * Class FieldCollection * @package Bitrix\Location\Entity\Location * @internal */ final class FieldCollection extends \Bitrix\Location\Entity\Generic\FieldCollection { /** @var Field[] */ protected $items = []; public function addItem($field): int { if(!($field instanceof Field)) { throw new ArgumentTypeException('field must be the instance of Field'); } return parent::addItem($field); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings