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