coreComponents() public method

public coreComponents ( )
Exemplo n.º 1
1
 /**
  * @inheritdoc
  */
 public function coreComponents()
 {
     return array_merge(parent::coreComponents(), ['request' => ['class' => 'yii\\console\\Request'], 'response' => ['class' => 'yii\\console\\Response'], 'errorHandler' => ['class' => 'yii\\console\\ErrorHandler']]);
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function coreComponents()
 {
     return array_merge(parent::coreComponents(), ['urlManager' => ['class' => 'yii\\platform\\web\\UrlManager'], 'request' => ['class' => 'yii\\platform\\console\\Request'], 'i18n' => ['class' => 'yii\\platform\\i18n\\I18N'], 'runner' => ['class' => 'yii\\platform\\runners\\Runner']]);
 }
Exemplo n.º 3
0
 public function coreComponents()
 {
     return array_merge(parent::coreComponents(), ['user' => ['class' => 'yii\\web\\User']]);
 }
 /**
  * @inheritdoc
  */
 public function coreComponents()
 {
     return array_merge(parent::coreComponents(), ['router' => ['class' => '\\sergebezborodov\\beanstalk\\Router'], 'beanstalk' => ['class' => '\\sergebezborodov\\beanstalk\\Beanstalk']]);
 }