PHP 인터페이스 Autarky\Routing\RoutePathGeneratorInterface

파일 보기 프로젝트 열기: autarky/framework 0 사용 예제들

공개 메소드들

메소드 설명
getRoutePath ( Route $route, array $params ) : string Generate the path (relative URL) for a route.
setValidateParams ( boolean $validateParams ) Set whether the regex pattern of route parameters should be validated on runtime.

메소드 상세

getRoutePath() 공개 메소드

Generate the path (relative URL) for a route.
public getRoutePath ( Route $route, array $params ) : string
$route Route
$params array
리턴 string

setValidateParams() 공개 메소드

Set whether the regex pattern of route parameters should be validated on runtime.
public setValidateParams ( boolean $validateParams )
$validateParams boolean