| @@ 73-85 (lines=13) @@ | ||
| 70 | * @param IPayload |
|
| 71 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
|
| 72 | */ |
|
| 73 | public function __construct( |
|
| 74 | IValidatorIterator $validators, |
|
| 75 | ISchemaValidator $schemaValidator, |
|
| 76 | IPayloadMap $payloadMap, |
|
| 77 | LoggerInterface $logger, |
|
| 78 | IPayload $parentPayload = null |
|
| 79 | ) { |
|
| 80 | parent::__construct($validators, $schemaValidator, $payloadMap, $logger, $parentPayload); |
|
| 81 | $this->initOptionalExtractPaths() |
|
| 82 | ->initDatetimeExtractPaths() |
|
| 83 | ->initSubPayloadExtractPaths() |
|
| 84 | ->initSubPayloadProperties(); |
|
| 85 | } |
|
| 86 | ||
| 87 | /** |
|
| 88 | * Initialize the protected class property array self::optionalExtractionPaths with xpath |
|
| @@ 45-55 (lines=11) @@ | ||
| 42 | * @param IPayload |
|
| 43 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
|
| 44 | */ |
|
| 45 | public function __construct( |
|
| 46 | IValidatorIterator $validators, |
|
| 47 | ISchemaValidator $schemaValidator, |
|
| 48 | IPayloadMap $payloadMap, |
|
| 49 | LoggerInterface $logger, |
|
| 50 | IPayload $parentPayload = null |
|
| 51 | ) { |
|
| 52 | parent::__construct($validators, $schemaValidator, $payloadMap, $logger, $parentPayload); |
|
| 53 | $this->initSubPayloadExtractPaths() |
|
| 54 | ->initSubPayloadProperties(); |
|
| 55 | } |
|
| 56 | ||
| 57 | /** |
|
| 58 | * Initialize the protected class property array self::optionalExtractionPaths with xpath |
|