Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 15 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | 4 | public function __construct() |
|
29 | { |
||
30 | 4 | $map = [ |
|
31 | 4 | 'dateTimeFormat' => 'date_time_format', |
|
32 | 4 | 'mergeBlocks' => 'merge_blocks', |
|
33 | 4 | 'mergeFields' => 'merge_fields', |
|
34 | 4 | 'name' => 'name', |
|
35 | 4 | 'numericFormat' => 'numeric_format', |
|
36 | 4 | 'preserveFormatting' => 'preserve_formatting', |
|
37 | 4 | 'templateName' => 'template_name', |
|
38 | 4 | 'text' => 'text', |
|
39 | 4 | 'textAfter' => 'text_after', |
|
40 | 4 | 'textBefore' => 'text_before', |
|
41 | 4 | 'userDocumentProperties' => 'user_document_properties', |
|
42 | 4 | ]; |
|
43 | |||
44 | 4 | $this->setMap($map); |
|
45 | } |
||
47 |