Exemplo n.º 1
0
 public function getFruits()
 {
     return $this->hasMany(Fruits::className(), ['id' => 'id']);
 }