Component
extends AbstractHelper
in package
Component view helper
Tags
Table of Contents
- __invoke() : string
- Expand path and render template
Methods
__invoke()
Expand path and render template
public
__invoke(string $name[, array<string|int, mixed> $params = [] ]) : string
Parameters
- $name : string
-
Component name that matches a template
- $params : array<string|int, mixed> = []
-
Data for the component template