/** * @param $url * @return mixed */ public function &getNode($url) { if (array_key_exists($url, $this->urls)) { $url = $this->urls[$url]; } return parent::getNode($url); }
public function count() { return count($this->tree->getNodes()); }