public function getEnabledDrivers()
    {
        $drivers = $this->getDriversFromStorage();
        $enabled = new Collection();

        foreach ($this->getAvailableDrivers() as $driver) {
            $name = $driver->getName();

            if (isset($drivers[$name])) {
                $enabled->put($name, $driver);
            }
        }

        return $enabled;
    }
public function getEnabledDrivers()
    {
        $drivers = $this->getDriversFromStorage();
        $enabled = new Collection();

        foreach ($this->getAvailableDrivers() as $driver) {
            $name = $driver->getName();

            if (isset($drivers[$name])) {
                $enabled->put($name, $driver);
            }
        }

        return $enabled;
    }
public function getEnabledDrivers ( ) { $ drivers = $ this -> getDriversFromStorage ( ) ; $ enabled = new Collection ( ) ; foreach ( $ this -> getAvailableDrivers ( ) as $ driver ) { $ name = $ driver -> getName ( ) ; if ( isset ( $ drivers [ $ name ] ) ) { $ enabled -> put ( $ name , $ driver ) ; } } return $ enabled ; }
Returns enabled auth drivers.

@return Collection
Returns enabled auth drivers .