From 0c4e4c7febb434454c001e7b1226c9678513618e Mon Sep 17 00:00:00 2001 From: dorian Date: Sat, 30 Mar 2013 18:42:22 +0100 Subject: [PATCH] Allow PageRange parameters in constructor --- .../Slurpy/Operation/OperationArgument/PageRange.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Shuble/Slurpy/Operation/OperationArgument/PageRange.php b/src/Shuble/Slurpy/Operation/OperationArgument/PageRange.php index f097b92..0b7eea9 100644 --- a/src/Shuble/Slurpy/Operation/OperationArgument/PageRange.php +++ b/src/Shuble/Slurpy/Operation/OperationArgument/PageRange.php @@ -65,9 +65,14 @@ class PageRange * @param string $fileHandle * @param array $options */ - public function __construct($fileHandle) + public function __construct($fileHandle, $startPage = null, $endPage = null, $qualifier = null, $rotation = null) { $this->setFileHandle($fileHandle); + + $this->startPage = $startPage; + $this->endPage = $endPage; + $this->qualifier = $qualifier; + $this->rotation = $rotation; } public function setFileHandle($fileHandle)