for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Bootstrap.php
* @author Roman Revin http://phptime.ru
*/
namespace rmrevin\yii\module\File;
* Class Bootstrap
* @package rmrevin\yii\module\File
class Bootstrap implements \yii\base\BootstrapInterface
{
* @inheritdoc
public function bootstrap($app)
__construct()
$app->getI18n()->translations['service-file'] = \Yii::createObject([
'class' => \yii\i18n\PhpMessageSource::className(),
'basePath' => '@vendor/rmrevin/yii2-file/messages',
]);
}