Interface Yiisoft\Yii\View\Renderer\LayoutParametersInjectionInterface
LayoutParametersInjectionInterface is an interface that must be implemented by classes to inject layout parameters.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getLayoutParameters() | Returns parameters for added to layout. | Yiisoft\Yii\View\Renderer\LayoutParametersInjectionInterface |
Method Details
Returns parameters for added to layout.
For example:
[
'paramA' => 'something',
'paramB' => 42,
...
]
| public abstract array getLayoutParameters ( ) |
public function getLayoutParameters(): array;
Signup or Login in order to comment.