You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.6 KiB
48 lines
1.6 KiB
<?php |
|
/** |
|
* Yii bootstrap file. |
|
* Used for enhanced IDE code autocompletion. |
|
*/ |
|
class Yii extends \yii\BaseYii |
|
{ |
|
/** |
|
* @var BaseApplication|WebApplication|ConsoleApplication the application instance |
|
*/ |
|
public static $app; |
|
} |
|
|
|
/** |
|
* Class BaseApplication |
|
* Used for properties that are identical for both WebApplication and ConsoleApplication |
|
* |
|
* @ property \app\components\RbacManager $authManager The auth manager for this application. Null is returned if auth manager is not configured. This property is read-only. Extended component. |
|
* @ property \app\components\Mailer $mailer The mailer component. This property is read-only. Extended component. |
|
*/ |
|
abstract class BaseApplication extends yii\base\Application |
|
{ |
|
} |
|
|
|
/** |
|
* Class WebApplication |
|
* Include only Web application related components here |
|
* |
|
* @property \core\components\modules\ModuleManager $moduleManager Module manager |
|
* @property \yii\db\Query $queue |
|
* |
|
* @property \core\entities\user\User $user The user component. This property is read-only. Extended component. |
|
* @ property \app\components\MyResponse $response The response component. This property is read-only. Extended component. |
|
* @ property \app\components\ErrorHandler $errorHandler The error handler application component. This property is read-only. Extended component. |
|
*/ |
|
class WebApplication extends yii\web\Application |
|
{ |
|
} |
|
|
|
/** |
|
* Class ConsoleApplication |
|
* Include only Console application related components here |
|
* |
|
* @ property \app\components\ConsoleUser $user The user component. This property is read-only. Extended component. |
|
*/ |
|
class ConsoleApplication extends yii\console\Application |
|
{ |
|
}
|
|
|