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