PHPHtmlParser\Dom\Collection::offsetGet PHP Method

offsetGet() public method

Gets a node at the given offset, or null
public offsetGet ( mixed $offset ) : mixed
$offset mixed
return mixed
    public function offsetGet($offset)
    {
        return isset($this->collection[$offset]) ? $this->collection[$offset] : null;
    }