Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RemoteFilesystem.php

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\Util

Code

public function getContents(string $originUrl, string $fileUrl, bool $progress = true, array $options = []) {
    return $this->get($originUrl, $fileUrl, $options, null, $progress);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal