コード例 #1
0
ファイル: Cellars.php プロジェクト: aekkapun/mysommelier
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCellarwines()
 {
     return $this->hasMany(Cellarwines::className(), ['cellar_id' => 'id']);
 }