Adapter/Bernard/ControlledConsumer.php
public function tick(Queue $queue, array $options = [])
    {
        // weired, no clue why this is necessary, but somehow configure is not invoked otherwise
        $this->doConfigure($options);

        if ($this->controller->doStop()) {
            return false;
        }

        if ($this->controller->doPause()) {
            return true;
        }

        return parent::tick($queue, $options);
    }
public function tick(Queue $queue, array $options = [])
    {
        // weired, no clue why this is necessary, but somehow configure is not invoked otherwise
        $this->doConfigure($options);

        if ($this->controller->doStop()) {
            return false;
        }

        if ($this->controller->doPause()) {
            return true;
        }

        return parent::tick($queue, $options);
    }
{@inheritdoc}