public function getSourceCompositeLink() { return $this->hasOne(ArticleDb::className(), ['id' => 'id', 'author_id' => 'author_id']); }
public function getSource() { return $this->hasOne(ArticleDb::className(), ['id' => 'id']); }