private static function getReflectionEnvironment(): BetterReflection
    {
        if (self::$reflectionEnvironment === null) {
            self::$reflectionEnvironment = new BetterReflection();
        }

        return self::$reflectionEnvironment;
    }
private static function getReflectionEnvironment(): BetterReflection
    {
        if (self::$reflectionEnvironment === null) {
            self::$reflectionEnvironment = new BetterReflection();
        }

        return self::$reflectionEnvironment;
    }
private static function getReflectionEnvironment ( ) : BetterReflection { if ( self :: $ reflectionEnvironment === null ) { self :: $ reflectionEnvironment = new BetterReflection ( ) ; } return self :: $ reflectionEnvironment ; }
Get the current reflection environment.

@return BetterReflection
Get the current reflection environment .