KGzocha\Searcher\AbstractCollection::getNamedItem PHP Method

getNamedItem() protected method

protected getNamedItem ( string $name ) : mixed | null
$name string
return mixed | null
    protected function getNamedItem($name)
    {
        if (array_key_exists($name, $this->items)) {
            return $this->items[$name];
        }
        return null;
    }