1 | <?php |
||
15 | class Collection |
||
16 | { |
||
17 | /** |
||
18 | * Arango.DB Connection |
||
19 | * |
||
20 | * @var \sonrac\Arango\Connection |
||
21 | * |
||
22 | * @author Donii Sergii <[email protected]> |
||
23 | */ |
||
24 | protected $connection; |
||
25 | |||
26 | /** |
||
27 | * Arango.DB collection object |
||
28 | * |
||
29 | * @var \ArangoDBClient\Collection |
||
30 | * |
||
31 | * @author Donii Sergii <[email protected]> |
||
32 | */ |
||
33 | protected $collection; |
||
34 | |||
35 | /** |
||
36 | * Collection constructor. |
||
37 | * |
||
38 | * @param \sonrac\Arango\Connection $connection Arango.DB connection |
||
39 | * @param \ArangoDBClient\Collection $collection Arango.DB collection object |
||
40 | * |
||
41 | * @author Donii Sergii <[email protected]> |
||
42 | */ |
||
43 | public function __construct(Connection $connection, ArangoCollection $collection) |
||
48 | } |