示例#1
0
 /**
  * @return bool
  */
 public function hasChildren()
 {
     return !$this->children->isEmpty();
 }
示例#2
0
 /** {@inheritDoc} */
 public function isEmpty()
 {
     $this->initialize();
     return $this->collection->isEmpty();
 }