function VcsDriverInterface::supports
Checks if this driver can handle a given url
Parameters
IOInterface $io IO instance:
Config $config current $config:
string $url URL to validate/check:
bool $deep unless true, only shallow checks (url matching typically) should be done:
8 methods override VcsDriverInterface::supports()
- FossilDriver::supports in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ FossilDriver.php - @inheritDoc
- GitBitbucketDriver::supports in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ GitBitbucketDriver.php - @inheritDoc
- GitDriver::supports in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ GitDriver.php - @inheritDoc
- GitHubDriver::supports in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ GitHubDriver.php - @inheritDoc
- GitLabDriver::supports in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ GitLabDriver.php - Uses the config `gitlab-domains` to see if the driver supports the url for the repository given.
File
-
vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ VcsDriverInterface.php, line 109
Class
- VcsDriverInterface
- @author Jordi Boggiano <j.boggiano@seld.be> @internal
Namespace
Composer\Repository\VcsCode
public static function supports(IOInterface $io, Config $config, string $url, bool $deep = false) : bool;