private function getProvider($providerName)
    {
        $provider = is_null($providerName)
            ? $this->providers->first()
            : $this->providers->get($providerName);

        return $this->provider = new Provider($provider);
    }
private function getProvider($providerName)
    {
        $provider = is_null($providerName)
            ? $this->providers->first()
            : $this->providers->get($providerName);

        return $this->provider = new Provider($provider);
    }
private function getProvider ( $ providerName ) { $ provider = is_null ( $ providerName ) ? $ this -> providers -> first ( ) : $ this -> providers -> get ( $ providerName ) ; return $ this -> provider = new Provider ( $ provider ) ; }
Get the provider from the supplied name.

@param string $providerName The name of the provider.

@return \JumpGate\Users\Models\Social\Provider
Get the provider from the supplied name .