|
|
|
@ -259,7 +259,7 @@ abstract class Application extends Module
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Sets the root directory of the applicaition and the @app alias. |
|
|
|
|
* Sets the root directory of the application and the @app alias. |
|
|
|
|
* This method can only be invoked at the beginning of the constructor. |
|
|
|
|
* @param string $path the root directory of the application. |
|
|
|
|
* @property string the root directory of the application. |
|
|
|
@ -427,7 +427,7 @@ abstract class Application extends Module
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns the view object. |
|
|
|
|
* @return View the view object that is used to render various view files. |
|
|
|
|
* @return View|\yii\web\View the view object that is used to render various view files. |
|
|
|
|
*/ |
|
|
|
|
public function getView() |
|
|
|
|
{ |
|
|
|
|