Пример #1
0
 /**
  * Use same instance of nodes during the requst
  *
  * @see parent::getRootNodes()
  * @return array
  */
 public function getRootNodes()
 {
     if (null === $this->nodes) {
         $this->nodes = parent::getRootNodes();
     }
     return $this->nodes;
 }