public function updateAction(User $user) { $this->userService->updateUser($user); $this->addFlashMessage('The user "%s" has been updated.', 'User updated', Message::SEVERITY_OK, array($user->getName()->getFullName()), 1412374498); $this->redirect('index'); }