$url
$url : string
A driver implementation for driver with authentication interaction.
$io : \Composer\IO\IOInterface
$config : \Composer\Config
$process : \Composer\Util\ProcessExecutor
$remoteFilesystem : \Composer\Util\RemoteFilesystem
$cache : \Composer\Cache
$perforce : \Composer\Util\Perforce
__construct(array $repoConfig, \Composer\IO\IOInterface $io, \Composer\Config $config, \Composer\Util\ProcessExecutor $process = null, \Composer\Util\RemoteFilesystem $remoteFilesystem = null)
Constructor.
array | $repoConfig | The repository configuration |
\Composer\IO\IOInterface | $io | The IO instance |
\Composer\Config | $config | The composer configuration |
\Composer\Util\ProcessExecutor | $process | Process instance, injectable for mocking |
\Composer\Util\RemoteFilesystem | $remoteFilesystem | Remote Filesystem, injectable for mocking |
hasComposerFile(string $identifier) : boolean
Return true if the repository has a composer file for a given identifier, false otherwise.
string | $identifier | Any identifier to a specific branch/tag/commit |
Whether the repository has a composer file for a given identifier.
supports(\Composer\IO\IOInterface $io, \Composer\Config $config, $url, $deep = false)
{@inheritDoc}
\Composer\IO\IOInterface | $io | |
\Composer\Config | $config | |
$url | ||
$deep |