• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/fields/objectfield.php
  • Класс: BitrixMainORMFieldsObjectField
  • Вызов: ObjectField::getGetterTypeHint
public function getGetterTypeHint()
{
	$type = 'mixed';

	if (!empty($this->objectClasses))
	{
		$types =  $this->objectClasses;

		if ($this->is_nullable)
		{
			$types[] = 'null';
		}

		$type =  join('|', $types);
	}

	return $type;
}