PHP 클래스 Dingo\Api\Routing\UrlGenerator

상속: extends Illuminate\Routing\UrlGenerator
파일 보기 프로젝트 열기: dingo/api 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$collections array Array of route collections.

공개 메소드들

메소드 설명
__construct ( Illuminate\Http\Request $request ) : void Create a new URL generator instance.
setRouteCollections ( array $collections ) Set the route collection instance.
version ( string $version ) : UrlGenerator Set the routes to use from the version.

메소드 상세

__construct() 공개 메소드

Create a new URL generator instance.
public __construct ( Illuminate\Http\Request $request ) : void
$request Illuminate\Http\Request
리턴 void

setRouteCollections() 공개 메소드

Set the route collection instance.
public setRouteCollections ( array $collections )
$collections array

version() 공개 메소드

Set the routes to use from the version.
public version ( string $version ) : UrlGenerator
$version string
리턴 UrlGenerator

프로퍼티 상세

$collections 보호되어 있는 프로퍼티

Array of route collections.
protected array $collections
리턴 array