__autocomplete.php 837 B

123456789101112131415161718192021222324252627282930313233
  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. *
  23. */
  24. class __Application {
  25. }
  26. /**
  27. * @property app\models\User $identity
  28. */
  29. class __WebUser {
  30. }