new Collection()
Collection constructor
new Collection(Kirby\Api\Api $api, mixed|null $data, array $schema)
Parameters
| Name | Type | Default |
|---|---|---|
| $api * | Kirby\Api\Api |
– |
| $data * | mixed|null |
– |
| $schema * | array |
– |
Exceptions
| Type | Description |
|---|---|
Exception |