public function flushAllAction()
    {
        try {
            $this->getWorker()->execute('flushAll');
            
            $this->get('session')->getFlashBag()->add('success', 'Flush ALL executed successfully');
        }catch(\Exception $e) {
            $this->get('session')->getFlashBag()->add('error', 'We have encountered an error : '.$e->getMessage());
        }
        
        return new RedirectResponse($this->generateUrl('ringo_php_redmon'));
    }
public function flushAllAction()
    {
        try {
            $this->getWorker()->execute('flushAll');
            
            $this->get('session')->getFlashBag()->add('success', 'Flush ALL executed successfully');
        }catch(\Exception $e) {
            $this->get('session')->getFlashBag()->add('error', 'We have encountered an error : '.$e->getMessage());
        }
        
        return new RedirectResponse($this->generateUrl('ringo_php_redmon'));
    }
public function flushAllAction ( ) { try { $ this -> getWorker ( ) -> execute ( 'flushAll' ) ; $ this -> get ( 'session' ) -> getFlashBag ( ) -> add ( 'success' , 'Flush ALL executed successfully' ) ; } catch ( \ Exception $ e ) { $ this -> get ( 'session' ) -> getFlashBag ( ) -> add ( 'error' , 'We have encountered an error : ' . $ e -> getMessage ( ) ) ; } return new RedirectResponse ( $ this -> generateUrl ( 'ringo_php_redmon' ) ) ; }
Call flush all command for the current instance

@return \Symfony\Component\HttpFoundation\RedirectResponse
Call flush all command for the current instance