PHP 인터페이스 Sulu\Bundle\RouteBundle\Manager\RouteManagerInterface

파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
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