| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class NullAcknowledgementHandler extends AbstractAcknowledgementHandler |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @param MessageInterface $message |
||
| 25 | * @param AdapterInterface $adapter |
||
| 26 | * @param mixed $result |
||
| 27 | */ |
||
| 28 | 3 | protected function acknowledge( |
|
| 29 | MessageInterface $message, |
||
| 30 | AdapterInterface $adapter, |
||
| 31 | $result = null |
||
| 32 | ) { |
||
| 33 | // Don't acknowledge. |
||
| 34 | 3 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @param MessageInterface $message |
||
| 38 | * @param AdapterInterface $adapter |
||
| 39 | * @param mixed $result |
||
| 40 | */ |
||
| 41 | protected function reject( |
||
| 42 | MessageInterface $message, |
||
| 43 | AdapterInterface $adapter, |
||
| 44 | $result = null |
||
| 45 | ) { |
||
| 46 | // Don't reject |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param AdapterInterface $adapter |
||
| 51 | */ |
||
| 52 | 3 | protected function flush(AdapterInterface $adapter) |
|
| 54 | // Nothing to flush. |
||
| 55 | 3 | } |
|
| 56 | } |
||
| 57 |