public function __construct(NewsRepository $news, NewsCategoryRepository $category) { $this->news = $news; $this->category = $category; }