• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/ical/parser/componentscollection.php
  • Класс: BitrixCalendarICalParserComponentsCollection
  • Вызов: ComponentsCollection::__construct
public function __construct(array $collection = null)
{
	if (!$this->checkCollection($collection))
	{
		throw new LogicException('The collection contains elements of the wrong class. You need to pass a collection of objects Bitrix\Calendar\ICal\Builder\Attendee');
	}

	$this->collection = $collection ?? [];
}