0 follower

Interface Yiisoft\Yii\View\Renderer\LayoutParametersInjectionInterface

LayoutParametersInjectionInterface is an interface that must be implemented by classes to inject layout parameters.

Public Methods

Hide inherited methods

Method Description Defined By
getLayoutParameters() Returns parameters for added to layout. Yiisoft\Yii\View\Renderer\LayoutParametersInjectionInterface

Method Details

Hide inherited methods

getLayoutParameters() public abstract method

Returns parameters for added to layout.

For example:

[
    'paramA' => 'something',
    'paramB' => 42,
    ...
]
public abstract array getLayoutParameters ( )

                public function getLayoutParameters(): array;