src/main/php/NewInstance.php
private static function callMapClass($target): \ReflectionClass
    {
        $class = self::reflect($target);
        if (!isset(self::$classes[$class->getName()])) {
            self::$classes[$class->getName()] = self::forkCallMapClass($class);
        }

        return self::$classes[$class->getName()];
    }
private static function callMapClass($target): \ReflectionClass
    {
        $class = self::reflect($target);
        if (!isset(self::$classes[$class->getName()])) {
            self::$classes[$class->getName()] = self::forkCallMapClass($class);
        }

        return self::$classes[$class->getName()];
    }
private static function callMapClass ( $ target ) : \ ReflectionClass { $ class = self :: reflect ( $ target ) ; if ( ! isset ( self :: $ classes [ $ class -> getName ( ) ] ) ) { self :: $ classes [ $ class -> getName ( ) ] = self :: forkCallMapClass ( $ class ) ; } return self :: $ classes [ $ class -> getName ( ) ] ; }
returns the proxy class for given target class or interface

@param   string|object  $target
@return  \ReflectionClass
returns the proxy class for given target class or interface