base\Application getRuntimePath()

getRuntimePath() public method Returns the directory that stores runtime files. public string getRuntimePath ( )return string The directory that stores runtime files. Defaults to the "runtime" subdirectory under $basePath.

base\Application getResponse()

getResponse() public method Returns the response component. public yii\web\Response|yii\console\Response getResponse ( )return yii\web\Response|yii\console\Response The response component.

base\Application getRequest()

getRequest() public method Returns the request component. public yii\web\Request|yii\console\Request getRequest ( )return yii\web\Request|yii\console\Request The request component.

base\Application getMailer()

getMailer() public method Returns the mailer component. public yii\mail\MailerInterface getMailer ( )return yii\mail\MailerInterface The mailer application component.

base\Application getLog()

getLog() public method Returns the log dispatcher component. public yii\log\Dispatcher getLog ( )return yii\log\Dispatcher The log dispatcher application component.

base\Application getI18n()

getI18n() public method Returns the internationalization (i18n) component public yii\i18n\I18N getI18n ( )return yii\i18n\I18N The internationalization application component.

base\Application getFormatter()

getFormatter() public method Returns the formatter component. public yii\i18n\Formatter getFormatter ( )return yii\i18n\Formatter The formatter application component.

base\Application getErrorHandler()

getErrorHandler() public method Returns the error handler component. public yii\web\ErrorHandler|yii\console\ErrorHandler getErrorHandler ( )return yii\web\ErrorHandler|yii\console\ErrorHandler The error handler application component.

base\Application getDb()

getDb() public method Returns the database connection component. public yii\db\Connection getDb ( )return yii\db\Connection The database connection.

base\Application getCache()

getCache() public method Returns the cache component. public yii\caching\Cache getCache ( )return yii\caching\Cache The cache application component. Null if the component is not enabled.