Class Yii

InheritanceYii » yii\BaseYii
Source Code https://github.com/yiisoft/yii2/blob/master/framework/Yii.php

This file used for enhanced IDE code autocompletion only.

NOTE: To avoid warning of multiple autocompletion you should mark the file protected\vendor\yiisoft\yii2\Yii.php as a plain text file for your IDE

See also https://github.com/samdark/yii2-cookbook/blob/master/book/ide-autocompletion.md#using-custom-yii-class.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$app BaseApplication|WebApplication|ConsoleApplication The application instance Yii

Property Details

$app public static property

The application instance