public function bindHttpClient()
    {
        $this->app->bind(HttpClient::class, function (Application $app) {
            $client = $app->make('ej:sdk:guzzle');
            $auth = $app->make(Authentication\Authenticator::class);

            return new HttpClient($client, $auth);
        });
    }
public function bindHttpClient()
    {
        $this->app->bind(HttpClient::class, function (Application $app) {
            $client = $app->make('ej:sdk:guzzle');
            $auth = $app->make(Authentication\Authenticator::class);

            return new HttpClient($client, $auth);
        });
    }
public function bindHttpClient ( ) { $ this -> app -> bind ( HttpClient :: class , function ( Application $ app ) { $ client = $ app -> make ( 'ej:sdk:guzzle' ) ; $ auth = $ app -> make ( Authentication \ Authenticator :: class ) ; return new HttpClient ( $ client , $ auth ) ; } ) ; }
Bind http client

@return void
Bind http client