coreComponents() public method

public coreComponents ( )
Esempio n. 1
0
 /**
  * @inheritdoc
  */
 public function coreComponents()
 {
     return array_merge(parent::coreComponents(), ['urlManager' => ['class' => 'yii\\platform\\web\\UrlManager'], 'request' => ['class' => 'yii\\platform\\web\\Request'], 'i18n' => ['class' => 'yii\\platform\\i18n\\I18N'], 'geoLocator' => ['class' => 'yii\\platform\\geo\\Locator'], 'locale' => ['class' => 'yii\\platform\\locale\\Locale'], 'runner' => ['class' => 'yii\\platform\\runners\\Runner']]);
 }
Esempio n. 2
0
 public function coreComponents()
 {
     return array_merge(parent::coreComponents(), ['multiDomainsManager' => ['class' => 'vistart\\components\\web\\MultiDomainsManager'], 'user' => ['class' => 'vistart\\components\\web\\SSOUser']]);
 }
Esempio n. 3
0
 /**
  * @inheritdoc
  */
 public function coreComponents()
 {
     return array_merge(parent::coreComponents(), ['request' => ['class' => 'UrbanIndo\\Yii2\\Thrift\\Request'], 'response' => ['class' => 'UrbanIndo\\Yii2\\Thrift\\Response'], 'session' => ['class' => 'yii\\web\\Session'], 'user' => ['class' => 'yii\\web\\User'], 'errorHandler' => ['class' => 'yii\\web\\ErrorHandler'], 'thrift' => ['class' => 'UrbanIndo\\Yii2\\Thrift\\Thrift']]);
 }