Interface Yiisoft\Yii\View\Renderer\CommonParametersInjectionInterface
| Implemented by | Yiisoft\ |
|---|
CommonParametersInjectionInterface is an interface that must be implemented by classes to inject
parameters both to view template and to layout.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getCommonParameters() | Returns parameters for added both to view template and to layout. | Yiisoft\ |
Method Details
Returns parameters for added both to view template and to layout.
For example:
[
'paramA' => 'something',
'paramB' => 42,
...
]
| public abstract array getCommonParameters ( ) |
public function getCommonParameters(): array;
User Contributed Notes
Leave a comment
Join the conversation to share a note.