public function actionIndex() { $modelProduct = new Product(); $newProduct = $modelProduct->getNew(); return $this->render('index', ['newProduct' => $newProduct]); }