Passed
Push — next ( d68df8...ee030a )
by Bas
03:07
created

SchemaManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 20
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ArangoClient\Schema;
6
7
use ArangoClient\ArangoClient;
8
use ArangoClient\Manager;
9
10
class SchemaManager extends Manager
11
{
12
    use ManagesDatabases;
13
    use ManagesCollections;
14
    use ManagesIndexes;
15
    use ManagesViews;
16
    use ManagesUsers;
17
18
    /**
19
     * @var ArangoClient
20
     */
21
    protected ArangoClient $arangoClient;
22
23
    /**
24
     * Documents constructor.
25
     * @param  ArangoClient  $arangoClient
26
     */
27 52
    public function __construct(ArangoClient $arangoClient)
28
    {
29 52
        $this->arangoClient = $arangoClient;
30 52
    }
31
}
32