예제 #1
0
파일: Manager.php 프로젝트: ARCANESOFT/Core
 /**
  * Check if the sidebar has items.
  *
  * @return bool
  */
 public function hasItems()
 {
     return !$this->items->isEmpty();
 }
예제 #2
0
파일: Item.php 프로젝트: ARCANESOFT/Core
 /**
  * Check if the item has children.
  *
  * @return bool
  */
 public function hasChildren()
 {
     return !$this->children->isEmpty();
 }