PHP 인터페이스 Adamgoose\Routing\Annotations\EndpointInterface

파일 보기 프로젝트 열기: adamgoose/laravel-annotations

공개 메소드들

메소드 설명
addPath ( AbstractPath $path ) : void Add the given path definition to the endpoint.
getMethodForPath ( AbstractPath $path ) : string Get the controller method for the given endpoint path.
getPaths ( ) : array Get all of the path definitions for an endpoint.
hasPaths ( ) Determine if the endpoint has any paths.
toRouteDefinition ( ) : string Transform the endpoint into a route definition.

메소드 상세

addPath() 공개 메소드

Add the given path definition to the endpoint.
public addPath ( AbstractPath $path ) : void
$path AbstractPath
리턴 void

getMethodForPath() 공개 메소드

Get the controller method for the given endpoint path.
public getMethodForPath ( AbstractPath $path ) : string
$path AbstractPath
리턴 string

getPaths() 공개 메소드

Get all of the path definitions for an endpoint.
public getPaths ( ) : array
리턴 array

hasPaths() 공개 메소드

Determine if the endpoint has any paths.
public hasPaths ( )

toRouteDefinition() 공개 메소드

Transform the endpoint into a route definition.
public toRouteDefinition ( ) : string
리턴 string