You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
837 B

8 months ago
  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. }