src/Response/V1x/DocumentResponse.php
public function getSource()
    {
        if (!$this->hasSource()) {
            throw new ResponseException(self::PROP_SOURCE . ' is not set.');
        }

        return $this->get(self::PROP_SOURCE);
    }
public function getSource()
    {
        if (!$this->hasSource()) {
            throw new ResponseException(self::PROP_SOURCE . ' is not set.');
        }

        return $this->get(self::PROP_SOURCE);
    }
public function getSource ( ) { if ( ! $ this -> hasSource ( ) ) { throw new ResponseException ( self :: PROP_SOURCE . ' is not set.' ) ; } return $ this -> get ( self :: PROP_SOURCE ) ; }
gets the source of the response

@return array
@throws \Elastification\Client\Exception\ResponseException
gets the source of the response