Beispiel #1
0
 public function createRoute(Routeable $content, $staticPrefix)
 {
     $route = new Route();
     $route->setStaticPrefix($staticPrefix);
     $route->setContent($content);
     $this->update($route);
     $content->setRoute($route);
     return $route;
 }
Beispiel #2
0
 protected function createRoute($url)
 {
     $route = new Route();
     $route->setStaticPrefix($url);
     return $route;
 }