function RemoteFilesystem::getContents
Get the content.
Parameters
string $originUrl The origin URL:
non-empty-string $fileUrl The file URL:
bool $progress Display the progression:
mixed[] $options Additional context options:
Return value
bool|string The content
File
-
vendor/
composer/ composer/ src/ Composer/ Util/ RemoteFilesystem.php, line 120
Class
- RemoteFilesystem
- @internal @author François Pluchino <francois.pluchino@opendisplay.com> @author Jordi Boggiano <j.boggiano@seld.be> @author Nils Adermann <naderman@naderman.de>
Namespace
Composer\UtilCode
public function getContents(string $originUrl, string $fileUrl, bool $progress = true, array $options = []) {
return $this->get($originUrl, $fileUrl, $options, null, $progress);
}