public function get($url)
    {
        $url = str_replace('__random__', rand(100000, 999999), $url);

        return $this->client->get($url, ['timeout' => 10])->getBody();
    }
public function get($url)
    {
        $url = str_replace('__random__', rand(100000, 999999), $url);

        return $this->client->get($url, ['timeout' => 10])->getBody();
    }
public function get ( $ url ) { $ url = str_replace ( '__random__' , rand ( 100000 , 999999 ) , $ url ) ; return $ this -> client -> get ( $ url , [ 'timeout' => 10 ] ) -> getBody ( ) ; }
Fetches an image from a remote source.

@param string $url URL of the remote image to fetch

@return StreamInterface
Fetches an image from a remote source .