Copied!

ActionHandlerDataStructureAwareInterface

ActionHandlerDataStructureAwareInterface.php : 18
Interface

Methods

publicgetDataStructureSpec()

ActionHandlerDataStructureAwareInterface.php : 23
public getDataStructureSpec() : array<string|int, Spec>

Return values

array<string|int, Spec>

publicgetIdentifier()

ActionHandlerInterface.php : 26
public static getIdentifier() : string

Return values

string

publichandle()

ActionHandlerInterface.php : 24
public handle(ActionInterface $action[, array<string, mixed> $context = [] ]) : ActionResponseInterface

Parameters

Name Type Default value Description
$action ActionInterface - -
$context array<string, mixed> [] -

Return values

ActionResponseInterface

publicpreparePayload()

ActionHandlerDataStructureAwareInterface.php : 31
public preparePayload(array<string, mixed> $options, DataType<string|int, string> $input) : array<string, mixed>

Parameters

Name Type Default value Description
$options array<string, mixed> - -
$input DataType<string|int, string> - -

Return values

array<string, mixed>

publicsupports()

ActionHandlerInterface.php : 16
public supports(ActionInterface $action) : bool

Parameters

Name Type Default value Description
$action ActionInterface - -

Return values

bool