| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | class Record extends AbstractAgenda |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | 3 | public function setData(array $data): parent |
|
| 23 | { |
||
| 24 | // process filter |
||
| 25 | 3 | $filter = new Filter($this->dependenciesFactory); |
|
| 26 | 3 | $filter |
|
| 27 | 3 | ->setDirectionalVariable($this->useOneDirectionalVariables) |
|
| 28 | 3 | ->setResolveOptions($this->resolveOptions) |
|
| 29 | 3 | ->setData($data['filter']); |
|
| 30 | 3 | $data['filter'] = $filter; |
|
| 31 | |||
| 32 | 3 | return parent::setData($data); |
|
|
|
|||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | 2 | public function getXML(): \SimpleXMLElement |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | 1 | protected function configureOptions(Common\OptionsResolver $resolver): void |
|
| 58 | } |
||
| 59 | } |
||
| 60 |