Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController::purgeAction PHP 메소드

purgeAction() 공개 메소드

Purges all tokens.
public purgeAction ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response A Response instance
    public function purgeAction()
    {
        $profiler = $this->container->get('profiler');
        $profiler->disable();
        $profiler->purge();

        return new RedirectResponse($this->container->get('router')->generate('_profiler', array('token' => '-')));
    }