src/LoggerClient.php
private function generateLogRequestData(RequestInterface $request)
    {
        return array(
            'class' => get_class($request),
            'method' => $request->getMethod(),
            'index' => $request->getIndex(),
            'type' => $request->getType(),
            'action' => $request->getAction(),
            'response_class' => $request->getSupportedClass(),
            'body' => $request->getBody()
        );
    }
private function generateLogRequestData(RequestInterface $request)
    {
        return array(
            'class' => get_class($request),
            'method' => $request->getMethod(),
            'index' => $request->getIndex(),
            'type' => $request->getType(),
            'action' => $request->getAction(),
            'response_class' => $request->getSupportedClass(),
            'body' => $request->getBody()
        );
    }
private function generateLogRequestData ( RequestInterface $ request ) { return array ( 'class' => get_class ( $ request ) , 'method' => $ request -> getMethod ( ) , 'index' => $ request -> getIndex ( ) , 'type' => $ request -> getType ( ) , 'action' => $ request -> getAction ( ) , 'response_class' => $ request -> getSupportedClass ( ) , 'body' => $ request -> getBody ( ) ) ; }
generates an array with all request information in it.

@param RequestInterface $request

@return array
@author Daniel Wendlandt
generates an array with all request information in it .