Skip to content

Kirby 5.0.4

$model->toArray()

$model->toArray(): array

Return type

array

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

Exceptions

Type Description
Kirby\Exception\NotFoundException
Exception

Parent class

Kirby\Api\Model