src/Composer/Util/RemoteFilesystem.php
public function getContents($originUrl, $fileUrl, $progress = true, $options = array())
    {
        return $this->get($originUrl, $fileUrl, $options, null, $progress);
    }
public function getContents($originUrl, $fileUrl, $progress = true, $options = array())
    {
        return $this->get($originUrl, $fileUrl, $options, null, $progress);
    }
Get the content.

@param string $originUrl The origin URL
@param string $fileUrl   The file URL
@param bool   $progress  Display the progression
@param array  $options   Additional context options

@return bool|string The content