class ResolveEvent extends Event

Class ResolveEvent

Properties

protected Kernel $apiKernel from Event
protected ProviderInterface $apiProvider from Event
protected array $apiRequest from Event

Methods

__construct(array $apiRequest, Kernel $apiKernel)

No description

getApiKernel()

Get api kernel.

from Event
getApiProvider()

No description

from Event
array
getApiRequest()

No description

from Event
string
getApiRequestSig()

Create a brief string identifying the entity/action. Useful for pithy matching/switching.

from Event
setApiProvider(ProviderInterface $apiProvider)

No description

setApiRequest(array $apiRequest)

No description

Details

at line 42
__construct(array $apiRequest, Kernel $apiKernel)

Parameters

array $apiRequest The full description of the API request.
Kernel $apiKernel

in Event at line 73
Kernel getApiKernel()

Get api kernel.

Return Value

Kernel

in Event at line 80
ProviderInterface getApiProvider()

Return Value

ProviderInterface

in Event at line 87
array getApiRequest()

Return Value

array

in Event at line 100
string getApiRequestSig()

Create a brief string identifying the entity/action. Useful for pithy matching/switching.

Ex: if ($e->getApiRequestSig() === '3.contact.get') { ... }

Return Value

string Ex: '3.contact.get'

at line 50
setApiProvider(ProviderInterface $apiProvider)

Parameters

ProviderInterface $apiProvider The API provider responsible for executing the request.

at line 58
setApiRequest(array $apiRequest)

Parameters

array $apiRequest The full description of the API request.