RestApiRouterService

package

Default

Methods

__construct

__construct(\Enlight_Event_EventManager $eventManager) 

Arguments

$eventManager

\Enlight_Event_EventManager

Determines whether the given request targets a custom REST API resource and/or action and, if this is the case fires an event to allow subscribed plugins to perform custom routing.

getControllerNameForRequest(\Enlight_Controller_Request_Request $request) : string

Arguments

$request

\Enlight_Controller_Request_Request

Response

string

Constants

The name of the event, which is fired to perform custom API routing.

ROUTING