|
8 | 8 | class ResultCounters
|
9 | 9 | {
|
10 | 10 | public function __construct(
|
11 |
| - private readonly bool $containsUpdates = false, |
12 |
| - private readonly int $nodesCreated = 0, |
13 |
| - private readonly int $nodesDeleted = 0, |
14 |
| - private readonly int $propertiesSet = 0, |
15 |
| - private readonly int $relationshipsCreated = 0, |
16 |
| - private readonly int $relationshipsDeleted = 0, |
17 |
| - private readonly int $labelsAdded = 0, |
18 |
| - private readonly int $labelsRemoved = 0, |
19 |
| - private readonly int $indexesAdded = 0, |
20 |
| - private readonly int $indexesRemoved = 0, |
21 |
| - private readonly int $constraintsAdded = 0, |
22 |
| - private readonly int $constraintsRemoved = 0, |
23 |
| - private readonly bool $containsSystemUpdates = false, |
24 |
| - private readonly int $systemUpdates = 0 |
| 11 | + public readonly bool $containsUpdates = false, |
| 12 | + public readonly int $nodesCreated = 0, |
| 13 | + public readonly int $nodesDeleted = 0, |
| 14 | + public readonly int $propertiesSet = 0, |
| 15 | + public readonly int $relationshipsCreated = 0, |
| 16 | + public readonly int $relationshipsDeleted = 0, |
| 17 | + public readonly int $labelsAdded = 0, |
| 18 | + public readonly int $labelsRemoved = 0, |
| 19 | + public readonly int $indexesAdded = 0, |
| 20 | + public readonly int $indexesRemoved = 0, |
| 21 | + public readonly int $constraintsAdded = 0, |
| 22 | + public readonly int $constraintsRemoved = 0, |
| 23 | + public readonly bool $containsSystemUpdates = false, |
| 24 | + public readonly int $systemUpdates = 0 |
25 | 25 | ) {
|
26 | 26 | }
|
27 | 27 |
|
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
31 |
| - public function ContainsSystemUpdates(): bool |
32 |
| - { |
33 |
| - return $this->containsSystemUpdates; |
34 |
| - } |
35 |
| - |
36 |
| - |
37 |
| - public function containsUpdates(): bool |
38 |
| - { |
39 |
| - return $this->containsUpdates; |
40 |
| - } |
41 |
| - |
42 |
| - public function getNodesCreated(): int |
43 |
| - { |
44 |
| - return $this->nodesCreated; |
45 |
| - } |
46 |
| - |
47 |
| - |
48 |
| - public function getNodesDeleted(): int |
49 |
| - { |
50 |
| - return $this->nodesDeleted; |
51 |
| - } |
52 |
| - |
53 |
| - |
54 |
| - public function getPropertiesSet(): int |
55 |
| - { |
56 |
| - return $this->propertiesSet; |
57 |
| - } |
58 |
| - |
59 |
| - public function getRelationshipsCreated(): int |
60 |
| - { |
61 |
| - return $this->relationshipsCreated; |
62 |
| - } |
63 |
| - |
64 |
| - public function getRelationshipsDeleted(): int |
65 |
| - { |
66 |
| - return $this->relationshipsDeleted; |
67 |
| - } |
68 |
| - |
69 |
| - public function getLabelsAdded(): int |
70 |
| - { |
71 |
| - return $this->labelsAdded; |
72 |
| - } |
73 |
| - |
74 |
| - public function getIndexesAdded(): int |
75 |
| - { |
76 |
| - return $this->indexesAdded; |
77 |
| - } |
78 |
| - |
79 |
| - public function getIndexesRemoved(): int |
80 |
| - { |
81 |
| - return $this->indexesRemoved; |
82 |
| - } |
83 |
| - |
84 |
| - public function getConstraintsAdded(): int |
85 |
| - { |
86 |
| - return $this->constraintsAdded; |
87 |
| - } |
88 |
| - |
89 |
| - public function getConstraintsRemoved(): int |
90 |
| - { |
91 |
| - return $this->constraintsRemoved; |
92 |
| - } |
93 |
| - |
94 |
| - public function getSystemUpdates(): int |
95 |
| - { |
96 |
| - return $this->systemUpdates; |
97 |
| - } |
98 |
| - |
99 |
| - public function getLabelsRemoved(): int |
100 |
| - { |
101 |
| - return $this->labelsRemoved; |
102 |
| - } |
103 | 31 | }
|
0 commit comments