$api->resolve()
Turns a Kirby object into an API model or collection representation
$api->resolve(mixed $object): Kirby\Api\Model|Kirby\Api\CollectionParameters
| Name | Type | Default | 
|---|---|---|
| $object * | mixed | – | 
Return type
Kirby\Api\Model|Kirby\Api\Collection
Exceptions
| Type | Description | 
|---|---|
| Kirby\Exception\NotFoundException | If $objectcannot be resolved | 
Parent class
  Kirby\Cms\Api    inherited from Kirby\Api\Api