base\Application $request

$request public read-only property The request component. public yii\web\Request|yii\console\Request getRequest ( )

base\Application $name

$name public property The application name. public string $name = 'My Application'

base\Application $mailer

$mailer public read-only property The mailer application component. public yii\mail\MailerInterface getMailer ( )

base\Application $log

$log public read-only property The log dispatcher application component. public yii\log\Dispatcher getLog ( )

base\Application $loadedModules

$loadedModules public property List of loaded modules indexed by their class names. public array $loadedModules = []

base\Application $layout

$layout public property The layout that should be applied for views in this application. Defaults to 'main'. If this is false, layout will be disabled. public string|boolean $layout = 'main'

base\Application $language

$language public property The language that is meant to be used for end users. It is recommended that you use IETF language tags. For example, en stands for English, while en-US stands for English (United States). See also $sourceLanguage. public string $language = 'en-US'

base\Application $i18n

$i18n public read-only property The internationalization application component. public yii\i18n\I18N getI18n ( )

base\Application $formatter

$formatter public read-only property The formatter application component. public yii\i18n\Formatter getFormatter ( )

base\Application $extensions

$extensions public property List of installed Yii extensions. Each array element represents a single extension with the following structure: [ 'name' => 'extension name', 'version' => 'version number', 'bootstrap' => 'BootstrapClassName', // optional, may also be a configuration array 'alias' => [ '@alias1' => 'to/path1', '@alias2' => 'to/path2', ], ] The "bootstrap" class listed above will be instantiated during the application bootst