Adapter/Sonata/ConsumerAdapter.php
public function consume($queue, array $options = [])
    {
        $backend = $this->backendProvider->getBackend($queue);

        $backend->initialize();

        declare (ticks = 1);

        while ($this->tick($backend, $options)) {
            // NO op
        }
    }
public function consume($queue, array $options = [])
    {
        $backend = $this->backendProvider->getBackend($queue);

        $backend->initialize();

        declare (ticks = 1);

        while ($this->tick($backend, $options)) {
            // NO op
        }
    }
Starts an infinite loop calling Consumer::tick();

@param string $queue
@param array  $options