public function newClient(LoopInterface $loop = null)
    {
        return new Client($this->getConfig('realm'), $this->getRegisteredProviders(), $loop);
    }
public function newClient(LoopInterface $loop = null)
    {
        return new Client($this->getConfig('realm'), $this->getRegisteredProviders(), $loop);
    }
public function newClient ( LoopInterface $ loop = null ) { return new Client ( $ this -> getConfig ( 'realm' ) , $ this -> getRegisteredProviders ( ) , $ loop ) ; }
Get a new Client instance.

@param \React\EventLoop\LoopInterface $loop

@return \Vinelab\Minion\Client
Get a new Client instance .