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