Interface Yiisoft\View\ViewContextInterface
| Implemented by | Yiisoft\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
| Method | Description | Defined By |
|---|---|---|
| getViewPath() | Returns the view path that may be prefixed to a relative view name. | Yiisoft\View\ViewContextInterface |
Method Details
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;
Signup or Login in order to comment.