AbstractRestApiRouterSubscriber

Extends \Shopware\Plugins\ViisonCommon\Classes\Subscribers\AbstractBaseSubscriber

package

Default

Methods

Applies custom routing for the given request.

applyCustomRouting(\Enlight_Controller_Request_Request $request) : string|null
abstract

That is, if the request should be routed to a custom API controller, the name of that controller must be returned. Otherwise null must be returned to indicate that no custom routing is required.

Arguments

$request

\Enlight_Controller_Request_Request

Response

string|null

getSubscribedEvents

getSubscribedEvents() 
static
inheritdoc

onRestApiControllerRouting

onRestApiControllerRouting(\Enlight_Event_EventArgs $args) : string|null

Arguments

$args

\Enlight_Event_EventArgs

Response

string|null