| Total Complexity | 8 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class NullBasic implements BasicInterface |
||
| 20 | { |
||
| 21 | 2 | public function ack(Ack $command): BasicInterface |
|
| 22 | { |
||
| 23 | 2 | return $this; |
|
| 24 | } |
||
| 25 | |||
| 26 | 2 | public function cancel(Cancel $command): BasicInterface |
|
| 27 | { |
||
| 28 | 2 | return $this; |
|
| 29 | } |
||
| 30 | |||
| 31 | 2 | public function consume(Consume $command): Consumer |
|
| 32 | { |
||
| 33 | 2 | return new Consumer\NullConsumer; |
|
| 34 | } |
||
| 35 | |||
| 36 | 2 | public function get(GetCommand $command): Get |
|
| 37 | { |
||
| 38 | 2 | return new Get\GetEmpty; |
|
| 39 | } |
||
| 40 | |||
| 41 | 2 | public function publish(Publish $command): BasicInterface |
|
| 42 | { |
||
| 43 | 2 | return $this; |
|
| 44 | } |
||
| 45 | |||
| 46 | 2 | public function qos(Qos $command): BasicInterface |
|
| 49 | } |
||
| 50 | |||
| 51 | 2 | public function recover(Recover $command): BasicInterface |
|
| 52 | { |
||
| 53 | 2 | return $this; |
|
| 54 | } |
||
| 55 | |||
| 56 | 2 | public function reject(Reject $command): BasicInterface |
|
| 59 | } |
||
| 60 | } |
||
| 61 |