src/Auth/Auth.php
protected function filterProviders(array $providers)
    {
        if (empty($providers)) {
            return $this->providers;
        }

        return array_intersect_key($this->providers, array_flip($providers));
    }
protected function filterProviders(array $providers)
    {
        if (empty($providers)) {
            return $this->providers;
        }

        return array_intersect_key($this->providers, array_flip($providers));
    }
protected function filterProviders ( array $ providers ) { if ( empty ( $ providers ) ) { return $ this -> providers ; } return array_intersect_key ( $ this -> providers , array_flip ( $ providers ) ) ; }
Filter the requested providers from the available providers.

@param array $providers

@return array
Filter the requested providers from the available providers .