public function getNews()
{
return $this->hasMany(News::class, ['id' => 'news_id'])->viaTable('news_trademark', ['trademark_id' => 'id']);
}
$trademark->news->orderBy(['created_at' => SORT_DESC])->limit(4)->all()
$trademark->getNews()->orderBy(['created_at' => SORT_DESC])->limit(4)->all()