__autocomplete.php 932 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * This class only exists here for IDE (PHPStorm/Netbeans/...) autocompletion.
  4. * This file is never included anywhere.
  5. * Adjust this file to match classes configured in your application config, to enable IDE autocompletion for custom components.
  6. * Example: A property phpdoc can be added in `__Application` class as `@property \vendor\package\Rollbar|__Rollbar $rollbar` and adding a class in this file
  7. * ```php
  8. * // @property of \vendor\package\Rollbar goes here
  9. * class __Rollbar {
  10. * }
  11. * ```
  12. */
  13. class Yii {
  14. /**
  15. * @var \yii\web\Application|\yii\console\Application|__Application
  16. */
  17. public static $app;
  18. }
  19. /**
  20. * @property yii\rbac\DbManager $authManager
  21. * @property \yii\web\User|__WebUser $user
  22. * @property \alexandernst\devicedetect\DeviceDetect $deviceDetect
  23. * @property \app\helpers\OG $og
  24. */
  25. class __Application {
  26. }
  27. /**
  28. * @property app\models\User $identity
  29. */
  30. class __WebUser {
  31. }