$kirby->storage()
Returns the default storage instance for a given Model
$kirby->storage(Kirby\Cms\ModelWithContent $model): Kirby\Content\Storage
Parameters
| Name | Type | Default |
|---|---|---|
| $modelrequired | Kirby\Cms\ModelWithContent |
no default value |
Return type
This method modifies the existing $app object it is applied to and returns it again.