Added backend:info & backend:version commands.

This commit is contained in:
abdulmohsen
2023-11-24 14:33:26 +03:00
parent 4c5237c8a3
commit 1f74775b28
15 changed files with 602 additions and 111 deletions

View File

@@ -211,4 +211,23 @@ interface ClientInterface
* @return string|bool return user token as string or bool(FALSE) if not supported.
*/
public function getUserToken(int|string $userId, string $username): string|bool;
/**
* Get Backend Info.
*
* @param array $opts
*
* @return array
*/
public function getInfo(array $opts = []): array;
/**
* Get Backend Version.
*
* @param array $opts
*
* @return string
*/
public function getVersion(array $opts = []): string;
}