public function editAction($id) { $id = $this->filter->sanitize($id, 'int'); $car = Cars::findFirst($id); $this->view->form = new SellForm($car); }