public function __construct($type, $config = []) { parent::__construct($config); $this->manager = \Yii::$app->authManager; $this->type = $type; }