0 follower

Interface Yiisoft\View\ViewContextInterface

Implemented byYiisoft\View\ViewContext

ViewContextInterface is the interface that should be implemented by classes who want to support relative view names.

The method {@see \Yiisoft\View\ViewContextInterface::getViewPath()} should be implemented to return the view path that may be prefixed to a relative view name.

Public Methods

Hide inherited methods

Method Description Defined By
getViewPath() Returns the view path that may be prefixed to a relative view name. Yiisoft\View\ViewContextInterface

Method Details

Hide inherited methods

getViewPath() public abstract method

Returns the view path that may be prefixed to a relative view name.

public abstract string getViewPath ( )
return string

The view path that may be prefixed to a relative view name.

                public function getViewPath(): string;