コード例 #1
0
ファイル: Customer.php プロジェクト: senukartur/Yii2_test
 public function getPhoneCode()
 {
     return $this->hasOne(PhoneCode::className(), ['id' => 'id_phone_code']);
 }