$badMethodCallException->toArray()
Converts the object to an array
$badMethodCallException->toArray(): array
Return type
array
This method modifies the existing $badmethodcallexception
object it is applied to and returns it again.
Parent class
Kirby\Exception\BadMethodCallException
inherited from Kirby\Exception\Exception