From 2338c3caf2dc412fab3445e8c8a1dc23ed9aaf0c Mon Sep 17 00:00:00 2001 From: Artur Safin Date: Sat, 15 Nov 2014 13:00:08 +0200 Subject: [PATCH] Make PHPExcel_Writer_PDF implement IWriter --- Classes/PHPExcel/Writer/PDF.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Writer/PDF.php b/Classes/PHPExcel/Writer/PDF.php index 4111f8bd..3131ee0a 100644 --- a/Classes/PHPExcel/Writer/PDF.php +++ b/Classes/PHPExcel/Writer/PDF.php @@ -33,7 +33,7 @@ * @package PHPExcel_Writer_PDF * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) */ -class PHPExcel_Writer_PDF +class PHPExcel_Writer_PDF implements PHPExcel_Writer_IWriter { /** @@ -87,4 +87,11 @@ class PHPExcel_Writer_PDF return call_user_func_array(array($this->_renderer, $name), $arguments); } + /** + * {@inheritdoc} + */ + public function save($pFilename = null) + { + $this->_renderer->save($pFilename); + } }