public function postFlush()
    {
        foreach ($this->redirections as $redirection) {
            $redirectionEvent = new BuildRedirectionEvent($redirection['from'], $redirection['to'], true);
            $this->dispatcher->dispatch(RedirectionEvents::BUILD, $redirectionEvent);
        }

        $this->redirections = [];
    }
public function postFlush()
    {
        foreach ($this->redirections as $redirection) {
            $redirectionEvent = new BuildRedirectionEvent($redirection['from'], $redirection['to'], true);
            $this->dispatcher->dispatch(RedirectionEvents::BUILD, $redirectionEvent);
        }

        $this->redirections = [];
    }
public function postFlush ( ) { foreach ( $ this -> redirections as $ redirection ) { $ redirectionEvent = new BuildRedirectionEvent ( $ redirection [ 'from' ] , $ redirection [ 'to' ] , true ) ; $ this -> dispatcher -> dispatch ( RedirectionEvents :: BUILD , $ redirectionEvent ) ; } $ this -> redirections = [ ] ; }
Post flush event handler.
Post flush event handler .