| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | 6 | protected function configure() |
|
| 23 | { |
||
| 24 | $this |
||
| 25 | 6 | ->setName('innmind:amqp:consume') |
|
| 26 | 6 | ->setDescription('Will process messages from the given queue') |
|
| 27 | 6 | ->addArgument('queue', InputArgument::REQUIRED) |
|
| 28 | 6 | ->addArgument('number', InputArgument::OPTIONAL, 'The number of messages to process') |
|
| 29 | 6 | ->addArgument('prefetch', InputArgument::OPTIONAL, 'The number of messages to prefetch'); |
|
| 30 | 6 | } |
|
| 31 | |||
| 64 |