public function current()
    {
        $file = parent::current();
        return ($file !== null) ? new MongoGridFSFile($this->gridfs, $file) : null;
    }
public function current()
    {
        $file = parent::current();
        return ($file !== null) ? new MongoGridFSFile($this->gridfs, $file) : null;
    }
public function current ( ) { $ file = parent :: current ( ) ; return ( $ file !== null ) ? new MongoGridFSFile ( $ this -> gridfs , $ file ) : null ; }
Returns the current file

@link http://php.net/manual/en/mongogridfscursor.current.php
@return MongoGridFSFile The current file
Returns the current file