src/VCR/Request.php
public function toArray()
    {
        return array_filter(
            array(
                'method' => $this->getMethod(),
                'url' => $this->getUrl(),
                'headers' => $this->getHeaders(),
                'body' => $this->getBody(),
                'post_files' => $this->getPostFiles(),
                'post_fields' => $this->getPostFields(),
            )
        );
    }
public function toArray()
    {
        return array_filter(
            array(
                'method' => $this->getMethod(),
                'url' => $this->getUrl(),
                'headers' => $this->getHeaders(),
                'body' => $this->getBody(),
                'post_files' => $this->getPostFiles(),
                'post_fields' => $this->getPostFields(),
            )
        );
    }
public function toArray ( ) { return array_filter ( array ( 'method' => $ this -> getMethod ( ) , 'url' => $ this -> getUrl ( ) , 'headers' => $ this -> getHeaders ( ) , 'body' => $ this -> getBody ( ) , 'post_files' => $ this -> getPostFiles ( ) , 'post_fields' => $ this -> getPostFields ( ) , ) ) ; }
Returns an array representation of this request.

@return array Array representation of this request.
Returns an array representation of this request .