protected function createNewInst()
    {
        $classReflection = new \ReflectionClass($this->instClass);
        if ($this->constructorArgs === null) {
            return $classReflection->newInstance();
        } else {
            return $classReflection->newInstanceArgs($this->concstructorArgs);
        }
    }
protected function createNewInst()
    {
        $classReflection = new \ReflectionClass($this->instClass);
        if ($this->constructorArgs === null) {
            return $classReflection->newInstance();
        } else {
            return $classReflection->newInstanceArgs($this->concstructorArgs);
        }
    }
protected function createNewInst ( ) { $ classReflection = new \ ReflectionClass ( $ this -> instClass ) ; if ( $ this -> constructorArgs === null ) { return $ classReflection -> newInstance ( ) ; } else { return $ classReflection -> newInstanceArgs ( $ this -> concstructorArgs ) ; } }
Creates the wrapped instance
@return object
Creates the wrapped instance