コード例 #1
0
ファイル: ClientModel.php プロジェクト: pfdtk/yii2-oauth2
 /**
  * @return ActiveQuery
  */
 public function getClientProfile()
 {
     return $this->hasOne(ClientProfileModel::className(), ['client_id' => 'id']);
 }