Skip to content

Kirby 5.4.3

$fieldsets->last()

Returns the last element

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

Return types

Kirby\Cms\Fieldsetornull

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