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