| 1 | <?php declare(strict_types=1); |
||
| 27 | class CaptureAggregator implements CaptureAggregatorInterface |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @var array |
||
| 31 | */ |
||
| 32 | private $remembered; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Constructor. |
||
| 36 | */ |
||
| 37 | 21 | public function __construct() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritdoc |
||
| 44 | */ |
||
| 45 | 18 | public function remember(string $key, $value): CaptureAggregatorInterface |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @inheritdoc |
||
| 54 | */ |
||
| 55 | 16 | public function get(): array |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @inheritdoc |
||
| 62 | */ |
||
| 63 | 9 | public function count() |
|
| 67 | |||
| 68 | /** |
||
| 69 | * @inheritdoc |
||
| 70 | */ |
||
| 71 | 21 | public function clear(): CaptureAggregatorInterface |
|
| 77 | } |
||
| 78 |