* @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:----i37u8bjYqy2ZW+lJouK/GJiCVe/BTkgJ9kLamI6wRjdRPvXruI1NWRBLGsym5lLucTnWd0z/mDx7DWo3Vl09rqAL7HYRfhfj+qwkDlg9bXy9kJT8j5tKTQ12y75vIDG5q+gZXu4SSpZdGFvBWbR7XlL0nAo+M7nP2ryqHatJL5LK6xNLzAiaiu7KZ2fqEaM1NaRfy6FcN30WjVk10eLFO+2q6pMe/NjCBc12cMuviJkHkyDwhWpsJaAcw46CqXEfhJn/I10PX2DV4YkD6cY5nnTPRoxTMKUEGBgviTdJGSeESDdhRJ8BomdrNFDcHthRQBJLAyIhT9IhbdD8hARH3YN3F05IFzUIrJDwSH3N9+mSEUVSYtEDLtqekqhdgMfc5cKsXsupb6So5AMjd13QV9Qv2uL0AQuTITtvqTSjrApjeoLCVVs7Md442h+UChDufyYBpeqCGZozCiHT40Kcv6AFDcyP1M65/mRAbr0/7ptj9qE9OjBwysHKkv+sHNQVoTTDs7ctpWWWKDiYMEIuo8JWcxDLQeFaYy8dA7cfrJfOQtP4mA53CmXwda7S/aUbV4YCu56D+1lY0nrE2y4zw0ggrocskmxfP8H2KQpH4VeGJ/keXMXEtEO15h3UR8YDUYE22rQ7MJ2uyPLfgxVGNRDltrIaqzmpfGGpOw14SyI=----ATTACHMENT:----NDAzMDQzOTI2MjkzNzM1NCA1NDc0NDYwNDcyMTIwODg2IDExOTc5ODU3NzIzMjI2Mg==