PHP Класс Xpressengine\Routing\ModuleValidator

Автор: XE Developers ([email protected])
Наследование: implements Illuminate\Routing\Matching\ValidatorInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

boot() публичный Метод

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
Результат void

matches() публичный Метод

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
Результат boolean