Пример #1
0
 /**
  * @inheritdoc
  */
 public function hasItems()
 {
     return 0 < $this->items->count();
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function countItems()
 {
     return $this->items->count();
 }
Пример #3
0
 /**
  * @inheritdoc
  */
 public function hasChildren()
 {
     return 0 < $this->children->count();
 }