PHP 인터페이스 Neos\Flow\Mvc\Routing\RouterInterface

파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
resolve ( array $routeValues ) : string Walks through all configured routes and calls their respective resolves-method.
route ( Request $httpRequest ) : array Iterates through all configured routes and calls matches() on them.

메소드 상세

resolve() 공개 메소드

When a matching route is found, the corresponding URI is returned.
public resolve ( array $routeValues ) : string
$routeValues array
리턴 string URI

route() 공개 메소드

Returns the matchResults of the matching route or NULL if no matching route could be found.
public route ( Request $httpRequest ) : array
$httpRequest Neos\Flow\Http\Request
리턴 array The results of the matching route or NULL if no route matched