Sulu\Bundle\RouteBundle\Manager\RouteManagerInterface::update PHP Method

update() public method

Creates a new route and handles the histories if the route has changed.
public update ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, string | null $path = null ) : Sulu\Bundle\RouteBundle\Model\RouteInterface | null
$entity Sulu\Bundle\RouteBundle\Model\RoutableInterface
$path string | null
return Sulu\Bundle\RouteBundle\Model\RouteInterface | null
    public function update(RoutableInterface $entity, $path = null);
RouteManagerInterface