$languages->nth()
Returns the nth element from the collection
$languages->nth(int $n): Kirby\Cms\Language|null
Parameters
Name | Type | Default |
---|---|---|
$nrequired | int |
no default value |
Return types
Kirby\Cms\Language
ornull
This method modifies the existing $languages
object it is applied to and returns it again.
Parent class
Kirby\Cms\Languages
inherited from Kirby\Toolkit\Collection