public function close()
	{
		$writer = \PHPExcel_IOFactory::createWriter( $this->container, $this->format );
		$writer->save( $this->resourcepath );
	}
public function close()
	{
		$writer = \PHPExcel_IOFactory::createWriter( $this->container, $this->format );
		$writer->save( $this->resourcepath );
	}
Cleans up and saves the container.