public function onKernelRequest(GetResponseEvent $event)
    {
        $request = $event->getRequest();

        // Loads Wordpress source code in order to allow use of WordPress functions in Symfony.
        if ('ekino_wordpress_catchall' !== $request->attributes->get('_route')) {
            $this->wordpress->loadWordpress();
        }

        $this->checkAuthentication($request);
    }
public function onKernelRequest(GetResponseEvent $event)
    {
        $request = $event->getRequest();

        // Loads Wordpress source code in order to allow use of WordPress functions in Symfony.
        if ('ekino_wordpress_catchall' !== $request->attributes->get('_route')) {
            $this->wordpress->loadWordpress();
        }

        $this->checkAuthentication($request);
    }
public function onKernelRequest ( GetResponseEvent $ event ) { $ request = $ event -> getRequest ( ) ; // Loads Wordpress source code in order to allow use of WordPress functions in Symfony. if ( 'ekino_wordpress_catchall' !== $ request -> attributes -> get ( '_route' ) ) { $ this -> wordpress -> loadWordpress ( ) ; } $ this -> checkAuthentication ( $ request ) ; }
On kernel request method.

@param GetResponseEvent $event
On kernel request method .