/** * Remove a route from the collection. * * @param Route $route */ public function removeRoute($route) { $this->routes->removeElement($route); }