Skip to content

Kirby 5.0.4

$dimensions->toArray()

Converts the dimensions object to a plain PHP array

$dimensions->toArray(): array

Return type

array

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

Parent class

Kirby\Image\Dimensions