Skip to content

Commit

Permalink
Allow PageRange parameters in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
baikunz committed Mar 30, 2013
1 parent 10d86fd commit 0c4e4c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Shuble/Slurpy/Operation/OperationArgument/PageRange.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0c4e4c7

Please sign in to comment.