| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | public function overrideRestructure($structuredOutput, $configurationData, $options) |
||
| 23 | { |
||
| 24 | // If the structured data implements ListDataInterface, |
||
| 25 | // then we will render whatever data its 'getListData' |
||
| 26 | // method provides. |
||
| 27 | if ($structuredOutput instanceof ListDataInterface) { |
||
| 28 | return $structuredOutput->getListData(); |
||
| 29 | } |
||
| 30 | } |
||
| 31 | } |
||
| 32 |