コード例 #1
0
ファイル: RawLayout.php プロジェクト: antrampa/platform
 /**
  * Removes all data from this storage
  */
 public function clear()
 {
     $this->items = [];
     $this->aliases->clear();
     $this->hierarchy->clear();
 }
コード例 #2
0
ファイル: Hierarchy.php プロジェクト: intel352/collections
 /**
  * Returns if an iterator can be created for the current entry.
  * @return bool true if the current entry can be iterated over, otherwise returns false.
  */
 public function hasChildren()
 {
     return !$this->_children->isEmpty();
 }