src/Sulu/Bundle/SecurityBundle/Controller/UserController.php
public function deleteAction($id)
    {
        $delete = $this->getUserManager()->delete();
        $view = $this->responseDelete($id, $delete);

        return $this->handleView($view);
    }
public function deleteAction($id)
    {
        $delete = $this->getUserManager()->delete();
        $view = $this->responseDelete($id, $delete);

        return $this->handleView($view);
    }
public function deleteAction ( $ id ) { $ delete = $ this -> getUserManager ( ) -> delete ( ) ; $ view = $ this -> responseDelete ( $ id , $ delete ) ; return $ this -> handleView ( $ view ) ; }
Deletes the user with the given id.

@param int $id

@return \Symfony\Component\HttpFoundation\Response
Deletes the user with the given id .