rmrevin /
yii2-file
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Bootstrap.php |
||
| 4 | * @author Roman Revin http://phptime.ru |
||
| 5 | */ |
||
| 6 | |||
| 7 | namespace rmrevin\yii\module\File; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Class Bootstrap |
||
| 11 | * @package rmrevin\yii\module\File |
||
| 12 | */ |
||
| 13 | class Bootstrap implements \yii\base\BootstrapInterface |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | 15 | public function bootstrap($app) |
|
|
0 ignored issues
–
show
Coding Style
Best Practice
introduced
by
Loading history...
|
|||
| 20 | { |
||
| 21 | 15 | $app->getI18n()->translations['service-file'] = \Yii::createObject([ |
|
| 22 | 15 | 'class' => \yii\i18n\PhpMessageSource::className(), |
|
| 23 | 15 | 'basePath' => '@vendor/rmrevin/yii2-file/messages', |
|
| 24 | 15 | ]); |
|
| 25 | } |
||
| 26 | } |