38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This class only exists here for IDE (PHPStorm/Netbeans/...) autocompletion.
|
|
* This file is never included anywhere.
|
|
* Adjust this file to match classes configured in your application config, to enable IDE autocompletion for custom components.
|
|
* Example: A property phpdoc can be added in `__Application` class as `@property \vendor\package\Rollbar|__Rollbar $rollbar` and adding a class in this file
|
|
* ```php
|
|
* // @property of \vendor\package\Rollbar goes here
|
|
* class __Rollbar {
|
|
* }
|
|
* ```
|
|
*/
|
|
class Yii {
|
|
/**
|
|
* @var \yii\web\Application|\yii\console\Application|__Application
|
|
*/
|
|
public static $app;
|
|
}
|
|
|
|
/**
|
|
* @property yii\rbac\DbManager $authManager
|
|
* @property \Da\User\Model\User $user
|
|
* @property \common\components\SonarApiComponent $sonar
|
|
* @property \common\components\HubspotApiComponent $hubspot
|
|
* @property \common\components\PostmarkComponent $postmark
|
|
* @property \yii\queue\db\Queue $queue
|
|
*
|
|
*/
|
|
class __Application {
|
|
}
|
|
|
|
/**
|
|
* @property app\models\User $identity
|
|
*/
|
|
class __WebUser {
|
|
}
|