Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getChildren()
 {
     if (is_array($this->children)) {
         return $this->children;
     }
     return $this->children->toArray();
 }