| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class MemoryErrorPool extends MemoryPool implements ErrorPool |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param Error $item |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function put(Error $item) |
||
| 17 | { |
||
| 18 | $this->items[] = $item; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param Transaction $transaction |
||
| 23 | * |
||
| 24 | * @return Error[] |
||
| 25 | */ |
||
| 26 | public function findAndDelete(Transaction $transaction) |
||
| 41 | } |
||
| 42 | } |
||
| 43 |