$page->representation()
$page->representation(mixed $type): Kirby\Template\Template
Parameters
| Name | Type | Default |
|---|---|---|
| $typerequired | mixed |
no default value |
Return type
This method modifies the existing $page object it is applied to and returns it again.
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |
If the content representation cannot be found |