| 1 | <?php |
||
| 19 | class CollectionHandler extends AbstractProcessingHandler |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | private $records = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | protected function write(array $record) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns recorded data. |
||
| 36 | * |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function getRecords() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Clears recorded data. |
||
| 46 | */ |
||
| 47 | public function clearRecords() |
||
| 51 | } |
||
| 52 |