1 | <?php |
||
10 | class FilterHooks |
||
11 | { |
||
12 | /** |
||
13 | * @hook alter @filter-output |
||
14 | * @option $filter Filter output based on provided expression |
||
15 | * @default $filter '' |
||
16 | */ |
||
17 | public function filterOutput($result, CommandData $commandData) |
||
29 | |||
30 | /** |
||
31 | * If the source data was wrapped in a marker class such |
||
32 | * as RowsOfFields, then re-apply the wrapper. |
||
33 | */ |
||
34 | protected function wrapFilteredResult($data, $sourceClass) |
||
42 | } |
||
43 |