src/GerritDrost/Lib/Enum/Enum.php
private final static function &getInstances($fqcn)
    {
        if (!isset(self::$instances[$fqcn])) {
            self::loadClass($fqcn);
        }

        return self::$instances[$fqcn];
    }
private final static function &getInstances($fqcn)
    {
        if (!isset(self::$instances[$fqcn])) {
            self::loadClass($fqcn);
        }

        return self::$instances[$fqcn];
    }
private final static function & getInstances ( $ fqcn ) { if ( ! isset ( self :: $ instances [ $ fqcn ] ) ) { self :: loadClass ( $ fqcn ) ; } return self :: $ instances [ $ fqcn ] ; }
Returns the array of all value singletons of one Enum class

@param string $fqcn FQCN of the enum

@return Enum[]
Returns the array of all value singletons of one Enum class