class ChainSubscriber implements EventSubscriberInterface

The ChainSubscriber looks for API parameters which specify a nested or chained API call. For example:

Methods

static array
getSubscribedEvents()

No description

onApiRespond( $event)

No description

callNestedApi(Kernel $apiKernel, $params, $result, $action, $entity, $version)

Call any nested api calls.

Details

at line 56
static array getSubscribedEvents()

Return Value

array

at line 68
onApiRespond( $event)

Parameters

$event API response event.

Exceptions

Exception

at line 91
protected callNestedApi(Kernel $apiKernel, $params, $result, $action, $entity, $version)

Call any nested api calls.

TODO: We don't really need this to be a separate function.

Parameters

Kernel $apiKernel
$params
$result
$action
$entity
$version

Exceptions

Exception