public function close()
	{
		if( fflush( $this->_fh ) === false ) {
			throw new MW_Container_Exception( sprintf( 'Unable to flush file "%1$s"', $this->getResource() ) );
		}

		if( fclose( $this->_fh ) === false ) {
			throw new MW_Container_Exception( sprintf( 'Unable to close file "%1$s"', $this->getResource() ) );
		}
	}
public function close()
	{
		if( fflush( $this->_fh ) === false ) {
			throw new MW_Container_Exception( sprintf( 'Unable to flush file "%1$s"', $this->getResource() ) );
		}

		if( fclose( $this->_fh ) === false ) {
			throw new MW_Container_Exception( sprintf( 'Unable to close file "%1$s"', $this->getResource() ) );
		}
	}
public function close ( ) { if ( fflush ( $ this -> _fh ) === false ) { throw new MW_Container_Exception ( sprintf ( 'Unable to flush file "%1$s"' , $ this -> getResource ( ) ) ) ; } if ( fclose ( $ this -> _fh ) === false ) { throw new MW_Container_Exception ( sprintf ( 'Unable to close file "%1$s"' , $ this -> getResource ( ) ) ) ; } }
Closes the CSV file so it's written to disk.

@throws MW_Container_Exception If the file handle couldn't be flushed or closed
Closes the CSV file so it s written to disk .