public function clearCacheAction() {
        $this->getConfigurationManager()->clearCache();
        $this->addFlash('sonata_flash_success', 'Cache clear successfully');

        return new \Symfony\Component\HttpFoundation\RedirectResponse($this->admin->generateUrl('list'));
    }
public function clearCacheAction() {
        $this->getConfigurationManager()->clearCache();
        $this->addFlash('sonata_flash_success', 'Cache clear successfully');

        return new \Symfony\Component\HttpFoundation\RedirectResponse($this->admin->generateUrl('list'));
    }
public function clearCacheAction ( ) { $ this -> getConfigurationManager ( ) -> clearCache ( ) ; $ this -> addFlash ( 'sonata_flash_success' , 'Cache clear successfully' ) ; return new \ Symfony \ Component \ HttpFoundation \ RedirectResponse ( $ this -> admin -> generateUrl ( 'list' ) ) ; }
Limplia la cache
@return \Tecnocreaciones\Bundle\ToolsBundle\Controller\Admin\RedirectResponse
Limplia la cache