new Collection()
Creates a new Collection with the given objects
new Collection(array $objects = [ ], object|null $parent = null)
Parameters
| Name | Type | Default |
|---|---|---|
| $objects | array |
[ ] |
| $parent | object|null |
null |