Reference

Guide

new Languages()

Creates a new collection with the given language objects

new Languages(array $objects = [ ], object $parent = null)

Parameters

Name Type Default Description
$objects array [ ]
$parent object null

Source code

kirby/src/Cms/Languages.php#L25