PHP Интерфейс Sulu\Bundle\RouteBundle\Manager\RouteManagerInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

create() публичный Метод

Returns a newly creates route for given routable-entity.
public create ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, string | null $path = null ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
$entity Sulu\Bundle\RouteBundle\Model\RoutableInterface
$path string | null
Результат Sulu\Bundle\RouteBundle\Model\RouteInterface

update() публичный Метод

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
Результат Sulu\Bundle\RouteBundle\Model\RouteInterface | null