1 | <?php declare(strict_types=1); |
||
16 | final class RowReplaceResult |
||
17 | { |
||
18 | /** @var FieldReplaceResult[] */ |
||
19 | private $fieldResultList; |
||
20 | |||
21 | /** @var string[] */ |
||
22 | private $errorList; |
||
23 | |||
24 | /** @var RowSearchResult */ |
||
25 | private $rowSearchResult; |
||
26 | |||
27 | |||
28 | /** |
||
29 | * @param FieldReplaceResult[] $fieldResultList |
||
30 | * @param string[] $errorList |
||
31 | */ |
||
32 | public function __construct( |
||
41 | |||
42 | /** |
||
43 | * Get the number of replacements in all fields in this row. |
||
44 | */ |
||
45 | public function getReplacedCount(): int |
||
55 | |||
56 | /** |
||
57 | * Get any replacement errors. |
||
58 | * |
||
59 | * @return string[] |
||
60 | */ |
||
61 | public function getErrorList(): array |
||
72 | |||
73 | /** |
||
74 | * @return FieldReplaceResult[] |
||
75 | */ |
||
76 | public function getFieldResultList(): array |
||
80 | |||
81 | public function getRowSearchResult(): RowSearchResult |
||
85 | } |