public function clear() { foreach ($this->_d as $priority => $items) { foreach (array_keys($items) as $key) { $this->remove($key); } } }