Method | Description | |
---|---|---|
create ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, string | null $path = null ) : Sulu\Bundle\RouteBundle\Model\RouteInterface | Returns a newly creates route for given routable-entity. | |
update ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, string | null $path = null ) : Sulu\Bundle\RouteBundle\Model\RouteInterface | null | Creates a new route and handles the histories if the route has changed. |