public function run() { $news = News::getDb()->cache(function () { return News::find()->orderBy('dt_add DESC')->limit(4)->all(); }); return $this->render('last_news', ['news' => $news]); }