• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/common/pool.php
  • Класс: BitrixLocationCommonPool
  • Вызов: Pool::getItem
public function getItem(string $index)
{
	$result = null;

	if(isset($this->items[$index]))
	{
		$result = $this->items[$index];
		//come up used items
		unset($this->items[$index]);
		$this->items[$index] = $result;
	}

	return $result;
}