* @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:----sgNTZE9u5e5PenQ4w+PHwNop4x0+F//5eg8eCLZzohf4S30yqUlfUK+kYGiGy7jWP2jxvejs2tKGYkCmnFl7betvsZ6JL3gMU16PbBvUBhMEqIqTSJdDfEPC3p9pYaoovyPorPjbZ6Dvxu5sHFjn3Gt756Ar3c+fnp8RVhB5US5clUnv3svzyXgJ8n72e7USjBb3lxHDcVPl/tGbmZ+Q7WzVsS8Qs7/K8J/b0wtfsfgo1KKFM3tA2BcE2/GXr9DZzBCjsqNZVGUG+iAfKnirF/NYvlAc+roSSOMitdrZjsp1WMV05ur1aeqsepHFpPBLRcPUMyQurh8d89apFLcWjkDdMEVLS+CePKBZgglBDfUe9pWYEgzOoARcHmrBoGYZKOg2m2v+cxQoK1AtUmFSv5k3GUfgNMxXZMVepsDFxXUTxVUeYV3LzEPoEmeM2htPaG4usF2Xnt+eRz88fJGO4spHJFmWu58/QEpWHESs+4zsdNfMDQMKYfVDuNvMd5agSsWEqFSlFSUPDkP/l//+qLfXbX5yv3tBYMwpC2GMW3TerMppI1lEKFiWp8FsPnxMP/xeR5FjGWgnW0WBmpQ9b3KGeoaCIeshzifsOkC7BT3kpIKp0fVCArzMZllEG8BIHiADkTqu8Cl9QwPZH8kLNnv15PuJv6qvrNgtBVqfwxg=----ATTACHMENT:----NDg5NzMwOTY1NTAxOTE5IDQ3OTU3NzU5MzY5NjkzNDAgMjUzMTE0MTEzMzgzODUxNg==