public function process(
        RequestInterface $request,
        ResponseInterface $response,
        RequestContextInterface $requestContext,
        $hook
    ) {

        // profile this request if we've a logger instance
        if (ModuleHooks::RESPONSE_POST === $hook && $this->profileLogger instanceof ThreadSafeLoggerInterface) {
            $this->profileLogger->debug($request->getUri());
        }
    }
public function process(
        RequestInterface $request,
        ResponseInterface $response,
        RequestContextInterface $requestContext,
        $hook
    ) {

        // profile this request if we've a logger instance
        if (ModuleHooks::RESPONSE_POST === $hook && $this->profileLogger instanceof ThreadSafeLoggerInterface) {
            $this->profileLogger->debug($request->getUri());
        }
    }
public function process ( RequestInterface $ request , ResponseInterface $ response , RequestContextInterface $ requestContext , $ hook ) { // profile this request if we've a logger instance if ( ModuleHooks :: RESPONSE_POST === $ hook && $ this -> profileLogger instanceof ThreadSafeLoggerInterface ) { $ this -> profileLogger -> debug ( $ request -> getUri ( ) ) ; } }
Implement's module logic for given hook

@param \AppserverIo\Psr\HttpMessage\RequestInterface          $request        A request object
@param \AppserverIo\Psr\HttpMessage\ResponseInterface         $response       A response object
@param \AppserverIo\Server\Interfaces\RequestContextInterface $requestContext A requests context instance
@param int                                                    $hook           The current hook to process logic for

@return bool
@throws \AppserverIo\Server\Exceptions\ModuleException
Implement s module logic for given hook