/** * Removes all data from this storage */ public function clear() { $this->items = []; $this->aliases->clear(); $this->hierarchy->clear(); }