public static function getValue($enumKey = '')
    {
        foreach (self::all() as $key => $value) {
            if (strtolower($key) == strtolower($enumKey)) {
                return $value;
            }
        }

        return null;
    }
public static function getValue($enumKey = '')
    {
        foreach (self::all() as $key => $value) {
            if (strtolower($key) == strtolower($enumKey)) {
                return $value;
            }
        }

        return null;
    }
public static function getValue ( $ enumKey = '' ) { foreach ( self :: all ( ) as $ key => $ value ) { if ( strtolower ( $ key ) == strtolower ( $ enumKey ) ) { return $ value ; } } return null ; }
Return a value from a key

@param string $enumKey
@return array $keys
@throws ReflectionException
Return a value from a key