Embera\Providers\Scribd::modifyResponse PHP Метод

modifyResponse() защищенный Метод

inline {@inheritdoc}
protected modifyResponse ( array $response = [] )
$response array
    protected function modifyResponse(array $response = array())
    {
        if (!empty($response['html'])) {
            $response['html'] = str_replace('#{root_url}', 'https://www.scribd.com/', $response['html']);
            $response['html'] = preg_replace('~\\s+~i', ' ', $response['html']);
            // Remove double spaces
        }
        return $response;
    }