new LabExampleViewController()
new LabExampleViewController(Category $category, Example $example)
Parameters
| Name | Type | Default |
|---|---|---|
| $categoryrequired | Kirby\Panel\Lab\Category |
no default value |
| $examplerequired | Kirby\Panel\Lab\Example |
no default value |