src/League/Monga/Database.php
public function filesystem($prefix = 'fs', $wrap = true)
    {
        $collection = $this->database->getGridFS($prefix);
        $wrap && $collection = new Filesystem($collection);

        return $collection;
    }
public function filesystem($prefix = 'fs', $wrap = true)
    {
        $collection = $this->database->getGridFS($prefix);
        $wrap && $collection = new Filesystem($collection);

        return $collection;
    }
public function filesystem ( $ prefix = 'fs' , $ wrap = true ) { $ collection = $ this -> database -> getGridFS ( $ prefix ) ; $ wrap && $ collection = new Filesystem ( $ collection ) ; return $ collection ; }
Retrieve a GridFS object

@param string  $prefix collection name
@param boolean $wrap   whether to wrap it in a Collection class.

@return mixed Collection instance or MongoCollection instance.
Retrieve a GridFS object