Skip to content

Kirby 5.1.2

$fieldsets->last()

Returns the last element

$fieldsets->last(): Kirby\Cms\Fieldset

Return type

Kirby\Cms\Fieldset

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

Parent class

Kirby\Cms\Fieldsets inherited from Kirby\Toolkit\Collection