| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | private function registerMetadataReader() |
||
| 17 | { |
||
| 18 | // By default, register a fake metadata reader. |
||
| 19 | $this->set('metadata_reader_null', function() { |
||
|
|
|||
| 20 | return new class implements MetadataReaderInterface |
||
| 21 | { |
||
| 22 | public function getAttributes(InputDataInterface $xInputData): ?MetadataInterface |
||
| 23 | { |
||
| 24 | return null; |
||
| 25 | } |
||
| 44 |