public function onKernelRequest(GetResponseEvent $event)
    {
        $request = $event->getRequest();
        if (!$strMockedDate = $request->query->get($this->mockParamName)) {
            return;
        }

        $this->mock($strMockedDate);
    }
public function onKernelRequest(GetResponseEvent $event)
    {
        $request = $event->getRequest();
        if (!$strMockedDate = $request->query->get($this->mockParamName)) {
            return;
        }

        $this->mock($strMockedDate);
    }
public function onKernelRequest ( GetResponseEvent $ event ) { $ request = $ event -> getRequest ( ) ; if ( ! $ strMockedDate = $ request -> query -> get ( $ this -> mockParamName ) ) { return ; } $ this -> mock ( $ strMockedDate ) ; }
kernel request event handler
kernel request event handler