* @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:----YhCgJxus3/q9OFzV0GbC5kNDDZ55Rfu4tNRdmUD4FsRImSe5MtRox8DV8j16EqaOxeNYn7r/qneaRpi1z2wKGTo7YLaPzs+IZiWwuAPP9h5OFEffYViWwNWXR9bALFJconaa99+Qt2eNLh1PC0CjnqBnUV/lz4DUADQN1wC+T54M54db9XsJnAnZoimzLwx27cc4c58UjrKDVWMieYnhLFdEN47JLejBLP6hMpzRerfFCfkmzAiNcypJLOR3inEeJi8kcgjCY2ayc+0xu4k6nIq+Y1DGf1I8MKIlyS2gCRZx1CItMbKuRYV/gFwhaaSgfRoSYKRijGn6f9w3TZ9r5XtTq3KkP1OTcQ+iNd8FeUWfAUTCMtxuBqS+c9Nr4dGovDRXDaQWw4HeUDwWckOzOXXU/r79sjx/NMe35Ijzv5Fdh02aB8uEz52Wq7ZXRm3jT4YBQNOncC/lftgjp5VhGuX1oZ01uYQE6pgFQZ6r2yW6kB504fBrri2seykcPyNE3YTnke4s1ayq+zBUHRI/TvnrzoCLcM2bjczITUPDPv1+KUbXIFNvcmHJL6V/3q0QTs14IrjI6gbgtOOrn74P2I5VKYf+F8mbZ9Zd3HYlCVMcZ1BP0x8Mm99ihtdka15wS3Ghv0f1NmbewuE2jfRWSaZD5+s0eVxXcYbCQ+jxNxI=----ATTACHMENT:----ODYxMjA5ODI5MDY4OTYyNiA0NDcwODE5NTYyNjQxODczIDIyMDY2NjExNDk3MjUxMDY=