Skip to content

Kirby 4.2.0

$badmethodcallexception->toArray()

Converts the object to an array

$badmethodcallexception->toArray(): array

Return type

array

Parent class

Kirby\Exception\BadMethodCallException inherited from Kirby\Exception\Exception