PHP Class Xpressengine\Routing\ModuleValidator

Author: XE Developers ([email protected])
Inheritance: implements Illuminate\Routing\Matching\ValidatorInterface
Afficher le fichier Open project: xpressengine/xpressengine Class Usage Examples

Méthodes publiques

Méthode Description
boot ( Xpressengine\Routing\RouteRepository $routeRepo, MenuHandler $menuHandler, ThemeHandler $themeHandler, SiteHandler $siteHandler ) : void boot
matches ( Illuminate\Routing\Route $route, Illuminate\Http\Request $request ) : boolean Validate a given rule against a route and request.

Private Methods

Méthode Description
canReview ( Illuminate\Routing\Route $route, Illuminate\Http\Request $request ) : boolean canReview
getHomeInstanceRoute ( ) : InstanceRoute getHomeInstanceRoute
getInstanceRoute ( Illuminate\Http\Request $request ) : InstanceRoute getInstanceRoute
getRouteModule ( Illuminate\Routing\Route $route ) : mixed getRouteModule
setInstanceConfig ( InstanceRoute $instanceRoute, Request $request ) : void setInstanceConfig

Method Details

boot() public méthode

boot
public boot ( Xpressengine\Routing\RouteRepository $routeRepo, MenuHandler $menuHandler, ThemeHandler $themeHandler, SiteHandler $siteHandler ) : void
$routeRepo Xpressengine\Routing\RouteRepository route handler
$menuHandler Xpressengine\Menu\MenuHandler menu handler
$themeHandler Xpressengine\Theme\ThemeHandler theme handler
$siteHandler Xpressengine\Site\SiteHandler site handler
Résultat void

matches() public méthode

Validate a given rule against a route and request.
public matches ( Illuminate\Routing\Route $route, Illuminate\Http\Request $request ) : boolean
$route Illuminate\Routing\Route laravel route
$request Illuminate\Http\Request laravel request
Résultat boolean