| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class AdminManager extends Manager |
||
| 13 | { |
||
| 14 | protected ArangoClient $arangoClient; |
||
| 15 | |||
| 16 | 104 | public function __construct(ArangoClient $arangoClient) |
|
| 17 | { |
||
| 18 | 104 | $this->arangoClient = $arangoClient; |
|
| 19 | 104 | } |
|
| 20 | |||
| 21 | /** |
||
| 22 | * |
||
| 23 | * @SuppressWarnings(PHPMD.BooleanArgumentFlag) |
||
| 24 | * |
||
| 25 | * @param bool $details |
||
| 26 | * @return stdClass |
||
| 27 | * |
||
| 28 | * @throws ArangoException |
||
| 29 | */ |
||
| 30 | 3 | public function getVersion(bool $details = false): stdClass |
|
| 39 | ] |
||
| 40 | ] |
||
| 41 | ); |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return array<mixed> |
||
| 46 | * @throws ArangoException |
||
| 47 | */ |
||
| 48 | 9 | public function getRunningTransactions(): array |
|
| 53 | } |
||
| 54 | } |
||
| 55 |