PHP 클래스 Fedeisas\LaravelJsRoutes\Generators\RoutesJavascriptGenerator

파일 보기 프로젝트 열기: fedeisas/laravel-js-routes 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$file Illuminate\Filesystem\Filesystem File system instance
$parsedRoutes array Parsed routes
$router Illuminate\Routing\Router Router instance
$routes array Clean routes

공개 메소드들

메소드 설명
__construct ( Illuminate\Filesystem\Filesystem $file, Router $router )
make ( string $path, string $name, array $options = [] ) : boolean Compile routes template and generate

보호된 메소드들

메소드 설명
getBeforeFilters ( Illuminate\Routing\Route $route ) : string Get before filters
getMethodPatterns ( string $uri, string $method ) : array Get the pattern filters for a given URI and method.
getParsedRoutes ( string $filter = null, string $prefix = null ) : array Get parsed routes
getPatternFilters ( Illuminate\Routing\Route $route ) : array Get all of the pattern filters matching the route.
getRouteInformation ( Illuminate\Routing\Route $route ) : array Get the route information for a given route.

메소드 상세

__construct() 공개 메소드

public __construct ( Illuminate\Filesystem\Filesystem $file, Router $router )
$file Illuminate\Filesystem\Filesystem
$router Illuminate\Routing\Router

getBeforeFilters() 보호된 메소드

Get before filters
protected getBeforeFilters ( Illuminate\Routing\Route $route ) : string
$route Illuminate\Routing\Route
리턴 string

getMethodPatterns() 보호된 메소드

Get the pattern filters for a given URI and method.
protected getMethodPatterns ( string $uri, string $method ) : array
$uri string
$method string
리턴 array

getParsedRoutes() 보호된 메소드

Get parsed routes
protected getParsedRoutes ( string $filter = null, string $prefix = null ) : array
$filter string
$prefix string
리턴 array

getPatternFilters() 보호된 메소드

Get all of the pattern filters matching the route.
protected getPatternFilters ( Illuminate\Routing\Route $route ) : array
$route Illuminate\Routing\Route
리턴 array

getRouteInformation() 보호된 메소드

Get the route information for a given route.
protected getRouteInformation ( Illuminate\Routing\Route $route ) : array
$route Illuminate\Routing\Route
리턴 array

make() 공개 메소드

Compile routes template and generate
public make ( string $path, string $name, array $options = [] ) : boolean
$path string
$name string
$options array
리턴 boolean

프로퍼티 상세

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

File system instance
protected Filesystem,Illuminate\Filesystem $file
리턴 Illuminate\Filesystem\Filesystem

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

Parsed routes
protected array $parsedRoutes
리턴 array

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

Router instance
protected Router,Illuminate\Routing $router
리턴 Illuminate\Routing\Router

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

Clean routes
protected array $routes
리턴 array