public function onKernelTerminate(PostResponseEvent $e)
    {
        if (!$this->enabled) return;

        $e->getDispatcher()->dispatch(self::API_TERMINATE, $e);
    }
public function onKernelTerminate(PostResponseEvent $e)
    {
        if (!$this->enabled) return;

        $e->getDispatcher()->dispatch(self::API_TERMINATE, $e);
    }
public function onKernelTerminate ( PostResponseEvent $ e ) { if ( ! $ this -> enabled ) return ; $ e -> getDispatcher ( ) -> dispatch ( self :: API_TERMINATE , $ e ) ; }
Called after a response has already been sent.
Called after a response has already been sent .