src/Bootstrap.php
/**
	 * Bootstrap method to be called during application bootstrap stage.
	 *
	 * @param Application $app the application currently running
	 */
Bootstrap method to be called during application bootstrap stage.
@param Application $app the application currently running
Bootstrap method to be called during application bootstrap stage . @param Application $app the application currently running
public function bootstrap($app) {
		if (!isset($app->get('i18n')->translations['role*'])) {
			$app->get('i18n')->translations['role*'] = [
				'class'          => PhpMessageSource::className(),
				'basePath'       => __DIR__ . '/messages',
				'sourceLanguage' => 'en-US',
			];
		}
	}
public function bootstrap ( $ app ) { if ( ! isset ( $ app -> get ( 'i18n' ) -> translations [ 'role*' ] ) ) { $ app -> get ( 'i18n' ) -> translations [ 'role*' ] = [ 'class' => PhpMessageSource :: className ( ) , 'basePath' => __DIR__ . '/messages' , 'sourceLanguage' => 'en-US' , ] ; } }
Bootstrap method to be called during application bootstrap stage.
Bootstrap method to be called during application bootstrap stage .