init() public method

public init ( )
コード例 #1
0
ファイル: Google.php プロジェクト: budyaga/yii2-users
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     if ($this->scope === null) {
         $this->scope = implode(' ', ['profile', 'email']);
     }
 }