/** * Find node by key * * @param string $key Key to search * * @return array */ public function find($key) { return $this->index ? $this->getByIndex($key) : parent::find($key); }