new Languages()
Creates a new collection with the given language objects
new Languages(array $objects = [ ], null $parent = null)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $objects | array |
[ ] |
Kirby\Cms\Language objects |
| $parent | null |
null |
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\DuplicateException |