class EmpirePluginRouteLoader extends Loader

Class EmpirePluginRouteLoader - loads all custom routes, etc. created in page builder, menu builder .

..

Constants

PLUGINS_ROUTES

Methods

__construct(EventDispatcherInterface $dispatcher)

EmpirePluginRouteLoader constructor.

RouteCollection
load(mixed $resource, null $type = null)

Loads custom routes in route collection. Hook on empire.get.plugin.routes event to add new route

supports($resource, $type = null)

No description

Details

at line 38
__construct(EventDispatcherInterface $dispatcher)

EmpirePluginRouteLoader constructor.

Parameters

EventDispatcherInterface $dispatcher

at line 50
RouteCollection load(mixed $resource, null $type = null)

Loads custom routes in route collection. Hook on empire.get.plugin.routes event to add new route

Parameters

mixed $resource
null $type

Return Value

RouteCollection

at line 98
supports($resource, $type = null)

Parameters

$resource
$type