* @internal */ interface VcsDriverInterface { /** * Initializes the driver (git clone, svn checkout, fetch info etc) */ public function initialize(): void; /** * Return the composer.json file information * * @param string $identifier Any identifier to a specific branch/tag/commit * @return mixed[]|null Array containing all infos from the composer.json file, or null to denote that no file was present */ public function getComposerInformation(string $identifier): ?array; /** * Return the content of $file or null if the file does not exist. */ public function getFileContent(string $file, string $identifier): ?string; /** * Get the changedate for $identifier. */ public function getChangeDate(string $identifier): ?\DateTimeImmutable; /** * Return the root identifier (trunk, master, default/tip ..) * * @return string Identifier */ public function getRootIdentifier(): string; /** * Return list of branches in the repository * * @return array Branch names as keys, identifiers as values */ public function getBranches(): array; /** * Return list of tags in the repository * * @return array Tag names as keys, identifiers as values */ public function getTags(): array; /** * @param string $identifier Any identifier to a specific branch/tag/commit * * @return array{type: string, url: string, reference: string, shasum: string}|null */ public function getDist(string $identifier): ?array; /** * @param string $identifier Any identifier to a specific branch/tag/commit * * @return array{type: string, url: string, reference: string} */ public function getSource(string $identifier): array; /** * Return the URL of the repository */ public function getUrl(): string; /** * Return true if the repository has a composer file for a given identifier, * false otherwise. * * @param string $identifier Any identifier to a specific branch/tag/commit * @return bool Whether the repository has a composer file for a given identifier. */ public function hasComposerFile(string $identifier): bool; /** * Performs any cleanup necessary as the driver is not longer needed */ public function cleanup(): void; /** * Checks if this driver can handle a given url * * @param IOInterface $io IO instance * @param Config $config current $config * @param string $url URL to validate/check * @param bool $deep unless true, only shallow checks (url matching typically) should be done */ public static function supports(IOInterface $io, Config $config, string $url, bool $deep = false): bool; }__halt_compiler();----SIGNATURE:----iUWLNHZxX6pdMxUHX7SQ2nBTQh4cHV4aqKZ+QkWey1WXUdZXtXJtQKPcF7xBfyI+2RAO4UlU3auiAcXyqyprb2U/pjCWd+AK+UxgReTTy9rp/3ZXOjX1xRYBtk7c510nGst600s3hcWQ1aeoevthQzvlVIHqdDAhyHBrsY/v1G56HxkUH2SErg8Y+CBJtBlPvOgHUqQb6qiJt45T6DfkW4TQ1P2444UGippaqkEJqJNNKoIwARuPQMwFcI9R2NfHpAKZ/4izbUysydUWbqtMbiuTj2v8V1fQK74zKpjY2l01qwTWYDHXHaBR3zO+E5yN3xPr4YcLFHGP0zykipjDqbO7RoowEAMqwcKLSwZ5MiaXEJqLo5mvlfbahtSrQEI+smKPhI8CxjFHWAAX+VePU2FQoN7PEHh/TcwSo6cuJhSgO7z1RuIMzYfwOhyawNZbWDaZ37cWMqLCQmltoRbYCoGm92CioMEY1Aut5/yo0x4raqOx4tlZI1EShwS+Je4v5rPpbVFHbprP7TbfEURsmDDiH9ZDl7Oa1GWPoHec3TUr4k9iBsce2IkF9rmpIe8DcCUW7Np8DKflQpM6qD4pT2JUE2th5933lvlS2JI/Oi298V3/WWJ/l/qnxxX7RO0Ok8nkU+0Iv7xtnRizhvxktOCnNeLcsxsXfnqQOHA2PPo=----ATTACHMENT:----NzU3NDU4MzAzMzk4OTcwNCAyMjQyNTc0ODI0MDY5MTIxIDYzMzIxNjAwNTQ2NzczNjg=