protected getListByKey ( ) : mixed | ||
Результат | mixed |
protected function getListByKey()
{
if ($this->listKey == "") {
return $this->info;
}
if (is_null($this->listKey) || !isset($this->info[$this->listKey])) {
throw new ListKeyNotSetException('The listKey is not found in the abstract list DTO');
}
return $this->info[$this->listKey];
}