Blame view

basic2/config/__autocomplete.php 837 Bytes
2fe1e5ce8   Андрей Ларионов   Первый коммит на ...
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
  <?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 \yii\web\User|__WebUser $user
   * 
   */
  class __Application {
  }
  
  /**
   * @property app\models\User $identity
   */
  class __WebUser {
  }