Exemplo n.º 1
0
 public function getManufacturer()
 {
     return $this->hasOne(Manufacturer::className(), ['id' => 'manufacturerId']);
 }