Skip to content

Kirby 5.3.2

$exception->getData()

Returns the data variables from the message

$exception->getData(): array

Return type

array

This method modifies the existing $exception object it is applied to and returns it again.

Parent class

Kirby\Exception\Exception