-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathautocompletion.php
74 lines (69 loc) · 3.16 KB
/
autocompletion.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?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 common\components\filekit\FileStorage $fileStorage
* @property common\components\keyStorage\KeyStorage $keyStorage
* @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 yii\web\UrlManager $urlManagerApi UrlManager for api application.
* @property \yii\caching\Cache $cache The cache application component. Null if the component is not enabled.
* @property \yii\caching\Cache $dcache The data cache application component. Null if the component is not enabled.
* @property \yii\caching\Cache $scache The data cache application component. Null if the component is not enabled.
* @property trntv\glide\components\Glide $glide
* @property trntv\bus\CommandBus $commandBus
* @property common\components\RedisConnection $redis
* @property common\components\SlackComponent $slack
* @property yii\queue\db\Queue $queue
* @property \common\components\google\VisionComponent $vision
* @property \common\components\google\StorageComponent $cloudStorage
* @property \common\components\cloud\CloudinaryComponent $cloudinary
* @property \common\components\FilestackComponent $fileStack
* @property \yii\mail\MailerInterface $mailer The mailer application component. This property is read-only.
* @property \yii\mail\MailerInterface $mailerSg The mailer application component. This property is read-only.
* @property \kartik\report\Report $report The mailer application component. This property is read-only.
*/
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
{
}