/** * {@inheritdoc} */ public function clear() { $this->routes = array(); $this->routeManager->clear(); }