src/ULogin/Parser.php
public static function arrayResolve(array $data)
    {

        $array = [];

        foreach ($data as $provider => $bool) {

            if ($bool === true) {

                $array['required'][] = $provider;

            }
            else {

                $array['hidden'][] = $provider;

            }
        }

        return $array;
    }
public static function arrayResolve(array $data)
    {

        $array = [];

        foreach ($data as $provider => $bool) {

            if ($bool === true) {

                $array['required'][] = $provider;

            }
            else {

                $array['hidden'][] = $provider;

            }
        }

        return $array;
    }
public static function arrayResolve ( array $ data ) { $ array = [ ] ; foreach ( $ data as $ provider => $ bool ) { if ( $ bool === true ) { $ array [ 'required' ] [ ] = $ provider ; } else { $ array [ 'hidden' ] [ ] = $ provider ; } } return $ array ; }
Resolve array data as providers

@param array $data
@access static
@return array
Resolve array data as providers