| Total Complexity | 8 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class MemorySpanPool extends MemoryPool implements SpanPool |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param Span $item |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function put(Span $item) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param Transaction $transaction |
||
| 23 | * |
||
| 24 | * @return Span[] |
||
| 25 | */ |
||
| 26 | public function findFinishedAndDelete(Transaction $transaction) |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return Span|null |
||
| 49 | */ |
||
| 50 | public function findLastUnfinished() |
||
| 66 |