| 1 | <?php namespace Limoncello\Validation\Captures; |
||
| 24 | class CaptureAggregator implements CaptureAggregatorInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | private $remembered; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constructor. |
||
| 33 | */ |
||
| 34 | 15 | public function __construct() |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdoc |
||
| 41 | */ |
||
| 42 | 12 | public function remember(string $key, $value): CaptureAggregatorInterface |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @inheritdoc |
||
| 51 | */ |
||
| 52 | 13 | public function get(): array |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @inheritdoc |
||
| 59 | */ |
||
| 60 | 7 | public function count() |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @inheritdoc |
||
| 67 | */ |
||
| 68 | 15 | public function clear(): CaptureAggregatorInterface |
|
| 74 | } |
||
| 75 |