• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/member/membermanager.php
  • Класс: BitrixTasksMemberMemberManager
  • Вызов: MemberManager::get
public function get(): array
{
	if (isset(static::$cache[$this->getKey($this->config)]))
	{
		return static::$cache[$this->getKey($this->config)];
	}

	$coveringKey = $this->getCoveringKey();
	if (!is_null($coveringKey))
	{
		return static::$cache[$coveringKey];
	}

	return match ($this->config::class)
	{
		BaseConfig::class => $this->getBaseInfo(),
		AdditionalConfig::class => $this->getAdditionalInfo(),
		default => throw new ConfigException("Unknown config {$this->config->getType()}"),
	};
}