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