public function start()
    {
        $this->setUpConsumer();

        while (count($this->channel->callbacks)) {
            $this->channel->wait();
        }
    }
public function start()
    {
        $this->setUpConsumer();

        while (count($this->channel->callbacks)) {
            $this->channel->wait();
        }
    }
public function start ( ) { $ this -> setUpConsumer ( ) ; while ( count ( $ this -> channel -> callbacks ) ) { $ this -> channel -> wait ( ) ; } }
Start server.
Start server .