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