initialize()
initialize()
Initializes the driver (git clone, svn checkout, fetch info etc)
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, string $url, boolean $deep = false) : boolean
Checks if this driver can handle a given url
\Composer\IO\IOInterface | $io | IO instance |
\Composer\Config | $config | current $config |
string | $url | URL to validate/check |
boolean | $deep | unless true, only shallow checks (url matching typically) should be done |