| Total Complexity | 2 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ImportResult extends Result |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * File name |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | public $filename; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor |
||
| 21 | * |
||
| 22 | * @param string $filename the filename |
||
| 23 | * @param int $created the counter of created objects |
||
| 24 | * @param int $updated the counter of updated objects |
||
| 25 | * @param int $errors the counter of errors (not created) |
||
| 26 | * @param string $info the info message |
||
| 27 | * @param string $warn the warn message |
||
| 28 | * @param string $error the error message |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function __construct( |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Reset attributes |
||
| 46 | * |
||
| 47 | * @return void |
||
| 48 | */ |
||
| 49 | public function reset(): void |
||
| 55 |