Files
caloriethingy.com/common/config/__autocomplete.php
Chris Smith 5f3d1359cf Adding API
2025-02-20 20:09:01 +01:00

36 lines
993 B
PHP

<?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 \common\components\GeminiApiComponent $gemini
* @property \common\components\PostmarkComponent $postmark
* @property \yii\queue\db\Queue $queue
*
*/
class __Application {
}
/**
* @property app\models\User $identity
*/
class __WebUser {
}