Ejemplo n.º 1
0
 /**
  * Remove a route from the collection.
  *
  * @param Route $route
  */
 public function removeRoute($route)
 {
     if (!$this->routes) {
         $this->routes = new ArrayCollection();
     }
     $this->routes->removeElement($route);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function removeRoute($route)
 {
     $this->routes->removeElement($route);
 }