Copied!

BeforeParseEvent

BeforeParseEvent.php : 14
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeParseEvent.php : 23
public __construct(array<string|int, mixed> $data, string $mediaType)

Parameters

Name Type Default value Description
$data array<string|int, mixed> - -
$mediaType string - -

publicgetData()

BeforeParseEvent.php : 31
public getData() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetMediaType()

BeforeParseEvent.php : 41
public getMediaType() : string

Return values

string

publicgetValueObject()

BeforeParseEvent.php : 51
public getValueObject() : mixed

publichasValueObject()

BeforeParseEvent.php : 65
public hasValueObject() : bool

Return values

bool

publicsetData()

BeforeParseEvent.php : 36
public setData(array<string|int, mixed> $data) : void

Parameters

Name Type Default value Description
$data array<string|int, mixed> - -

publicsetMediaType()

BeforeParseEvent.php : 46
public setMediaType(string $mediaType) : void

Parameters

Name Type Default value Description
$mediaType string - -

publicsetValueObject()

BeforeParseEvent.php : 60
public setValueObject(mixed $valueObject) : void

Parameters

Name Type Default value Description
$valueObject mixed - -