Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function __construct |
||
25 | ( |
||
26 | $name, |
||
27 | ReadModelId $id, |
||
28 | array $fields, |
||
29 | callable $recordFactory, |
||
30 | callable $allRecords, |
||
31 | $snapshotColumnName = null |
||
32 | ) |
||
33 | { |
||
34 | $this->name = $name; |
||
35 | $this->id = $id; |
||
36 | $this->fields = $fields; |
||
37 | $this->recordFactory = $recordFactory; |
||
38 | $this->allRecords = $allRecords; |
||
39 | $this->snapshotColumnName = $snapshotColumnName; |
||
40 | } |
||
56 |