Ai
1 Star 0 Fork 54

lovesyx2012/yii2admin

forked from e282486518/yii2admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
autocompletion.php 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
e282486518 提交于 2016-11-15 23:51 +08:00 . IDE autocomplete
<?php
/**
* Yii bootstrap file.
* Used for enhanced IDE code autocompletion.
* Note: To avoid "Multiple Implementations" PHPStorm warning and make autocomplete faster
* exclude or "Mark as Plain Text" vendor/yiisoft/yii2/Yii.php file
*/
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 yii\web\UrlManager $urlManagerFrontend UrlManager for frontend application.
* @property yii\web\UrlManager $urlManagerBackend UrlManager for backend application.
* @property yii\web\UrlManager $urlManagerStorage UrlManager for storage application.
* @property trntv\glide\components\Glide $glide
* @property common\core\Request $request 在main.php中配置components
* @property common\core\rbac\DbManager $authManager 在main.php中配置components
*/
abstract class BaseApplication extends yii\base\Application
{
}
/**
* Class WebApplication
* Include only Web application related components here
*
* @property User $user User component.
*/
class WebApplication extends yii\web\Application
{
}
/**
* Class ConsoleApplication
* Include only Console application related components here
*/
class ConsoleApplication extends yii\console\Application
{
}
/**
* User component
* Include only Web application related components here
*
* @property \common\models\User $identity User model.
* @method \common\models\User getIdentity() returns User model.
*/
class User extends \yii\web\User
{
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/phps/yii2admin.git
git@gitee.com:phps/yii2admin.git
phps
yii2admin
yii2admin
master

搜索帮助