private function newInstance($proxyClass)
    {
        static $prototypes = array();

        if(!array_key_exists($proxyClass, $prototypes))
        {
            $prototypes[$proxyClass] = unserialize(sprintf('O:%d:"%s":0:{}', strlen($proxyClass), $proxyClass));
        }

        return clone $prototypes[$proxyClass];
    }
private function newInstance($proxyClass)
    {
        static $prototypes = array();

        if(!array_key_exists($proxyClass, $prototypes))
        {
            $prototypes[$proxyClass] = unserialize(sprintf('O:%d:"%s":0:{}', strlen($proxyClass), $proxyClass));
        }

        return clone $prototypes[$proxyClass];
    }
private function newInstance ( $ proxyClass ) { static $ prototypes = array ( ) ; if ( ! array_key_exists ( $ proxyClass , $ prototypes ) ) { $ prototypes [ $ proxyClass ] = unserialize ( sprintf ( 'O:%d:"%s":0:{}' , strlen ( $ proxyClass ) , $ proxyClass ) ) ; } return clone $ prototypes [ $ proxyClass ] ; }
Create a new instance of a proxy class object.

This creates an instance of a proxy class. If the class has already been created, it is retrieved from a static
prototypes array.

@param mixed $proxyClass The class to create an instance of.
@return mixed The new instance of <code>$proxyclass</code>.
Create a new instance of a proxy class object .