Esempio n. 1
0
 public function getAuthors()
 {
     return $this->hasOne(Authors::className(), ['id' => 'author_id']);
 }