lib/VirtFs.php
public function pushLoader(VirtFsLoader $loader)
    {
        if (!in_array($loader,$this->loaders)) {
            $this->loaders[] = $loader;
        }
        return $this;
    }
public function pushLoader(VirtFsLoader $loader)
    {
        if (!in_array($loader,$this->loaders)) {
            $this->loaders[] = $loader;
        }
        return $this;
    }
public function pushLoader ( VirtFsLoader $ loader ) { if ( ! in_array ( $ loader , $ this -> loaders ) ) { $ this -> loaders [ ] = $ loader ; } return $ this ; }
Push a VirtFsLoader onto the stack of autoloaders for the virtual filesystem.

@param \NoccyLabs\VirtFs\VirtFsLoader The loader to register
@return \NoccyLabs\VirtFs\VirtFs
Push a VirtFsLoader onto the stack of autoloaders for the virtual filesystem .