mirror of
https://github.com/elyby/accounts.git
synced 2024-12-11 16:09:25 +05:30
b67a1879fe
Добавлен компонент для настройки Email Renderer Добавлен роут в nginx для отображения картинок из Email Renderer
48 lines
1.4 KiB
PHP
48 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Yii bootstrap file.
|
|
* Used for enhanced IDE code autocompletion.
|
|
* Note: To avoid "Multiple Implementations" PHPStorm warning and make autocomplete faster
|
|
* exclude or "Mark as Plain Text" vendor/yiisoft/yii2/Yii.php file
|
|
*/
|
|
class Yii extends \yii\BaseYii {
|
|
/**
|
|
* @var BaseApplication|WebApplication|ConsoleApplication the application instance
|
|
*/
|
|
public static $app;
|
|
}
|
|
|
|
/**
|
|
* Class BaseApplication
|
|
* Used for properties that are identical for both WebApplication and ConsoleApplication
|
|
*
|
|
* @property \yii\swiftmailer\Mailer $mailer
|
|
* @property \yii\redis\Connection $redis
|
|
* @property \common\components\RabbitMQ\Component $amqp
|
|
* @property \GuzzleHttp\Client $guzzle
|
|
* @property \common\components\EmailRenderer $emailRenderer
|
|
*/
|
|
abstract class BaseApplication extends yii\base\Application {
|
|
}
|
|
|
|
/**
|
|
* Class WebApplication
|
|
* Include only Web application related components here
|
|
*
|
|
* @property \api\components\User\Component $user User component.
|
|
* @property \api\components\ApiUser\Component $apiUser Api User component.
|
|
* @property \api\components\ReCaptcha\Component $reCaptcha
|
|
* @property \common\components\oauth\Component $oauth
|
|
*
|
|
* @method \api\components\User\Component getUser()
|
|
*/
|
|
class WebApplication extends yii\web\Application {
|
|
}
|
|
|
|
/**
|
|
* Class ConsoleApplication
|
|
* Include only Console application related components here
|
|
*/
|
|
class ConsoleApplication extends yii\console\Application {
|
|
}
|