lib/VirtFs.php
public function addAutoloader($namespace, $path=null, $psr4=false)
    {
        $loader = new VirtFsLoader($this);
        $loader->register($namespace, $path, $psr4);
        $this->pushLoader($loader);
    }
public function addAutoloader($namespace, $path=null, $psr4=false)
    {
        $loader = new VirtFsLoader($this);
        $loader->register($namespace, $path, $psr4);
        $this->pushLoader($loader);
    }
public function addAutoloader ( $ namespace , $ path = null , $ psr4 = false ) { $ loader = new VirtFsLoader ( $ this ) ; $ loader -> register ( $ namespace , $ path , $ psr4 ) ; $ this -> pushLoader ( $ loader ) ; }
Register an autoloader for the virtual filesystem

@param string The namespace to register
@param string The root of the autoloader
@param bool If true, use a psr-4 autoloader, otherwise a psr-0.
Register an autoloader for the virtual filesystem