public function initialize(Collection $parameters): DriverContract
    {
        $parameters->each(function ($value, $key) {
            $key = Str::camel($key);
            $this->$key = $value;
        });

        $this->client = $this->createClient();

        return $this;
    }
public function initialize(Collection $parameters): DriverContract
    {
        $parameters->each(function ($value, $key) {
            $key = Str::camel($key);
            $this->$key = $value;
        });

        $this->client = $this->createClient();

        return $this;
    }
public function initialize ( Collection $ parameters ) : DriverContract { $ parameters -> each ( function ( $ value , $ key ) { $ key = Str :: camel ( $ key ) ; $ this -> $ key = $ value ; } ) ; $ this -> client = $ this -> createClient ( ) ; return $ this ; }
Initialize driver.

@param Collection $parameters

@return Driver|DriverContract|static
Initialize driver .