public function getProviders()
	{
		$haconfig = $this->config['hybridauth'];
		$providers = array();

		//iterate over the social providers in the config
		foreach (array_get($haconfig, 'providers', array()) as $provider => $config)
		{
			if (array_get($config, 'enabled'))
			{
				$providers[] = $provider;
			}
		}

		return $providers;
	}
public function getProviders()
	{
		$haconfig = $this->config['hybridauth'];
		$providers = array();

		//iterate over the social providers in the config
		foreach (array_get($haconfig, 'providers', array()) as $provider => $config)
		{
			if (array_get($config, 'enabled'))
			{
				$providers[] = $provider;
			}
		}

		return $providers;
	}
public function getProviders ( ) { $ haconfig = $ this -> config [ 'hybridauth' ] ; $ providers = array ( ) ; //iterate over the social providers in the config foreach ( array_get ( $ haconfig , 'providers' , array ( ) ) as $ provider => $ config ) { if ( array_get ( $ config , 'enabled' ) ) { $ providers [ ] = $ provider ; } } return $ providers ; }
Gets the enabled social providers from the config

@return array
Gets the enabled social providers from the config