Skip to content

Commit

Permalink
methods
Browse files Browse the repository at this point in the history
  • Loading branch information
maztch committed Mar 23, 2017
1 parent e05f84f commit befb43b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
36 changes: 23 additions & 13 deletions src/PagenumberTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,67 +11,67 @@ class PagenumberTask extends Task
/**
* @var boolean
*/
private $facing_pages;
public $facing_pages;

/**
* @var boolean
*/
private $first_cover;
public $first_cover;

/**
* @var string
*/
private $pages;
public $pages;

/**
* @var integer
*/
private $starting_number;
public $starting_number;

/**
* @var string
*/
private $vertical_position;
public $vertical_position;

/**
* @var string
*/
private $horizontal_position;
public $horizontal_position;

/**
* @var integer
*/
private $vertical_position_adjustment;
public $vertical_position_adjustment;

/**
* @var integer
*/
private $horizontal_position_adjustment;
public $horizontal_position_adjustment;

/**
* @var string
*/
private $font_family;
public $font_family;

/**
* @var string
*/
private $font_style;
public $font_style;

/**
* @var integer
*/
private $font_size;
public $font_size;

/**
* @var string
*/
private $font_color;
public $font_color;

/**
* @var string
*/
private $text;
public $text;

/**
* AddnumbersTask constructor.
Expand Down Expand Up @@ -202,4 +202,14 @@ public function setText($text)
$this->text = $text;
return $this;
}


/**
* @param null $processData
* @return mixed
*/
public function execute($processData = null)
{
return parent::execute(get_object_vars($this));
}
}
2 changes: 0 additions & 2 deletions src/SplitTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,4 @@ public function execute($processData = null)
$this->tool = 'split';
return parent::execute(get_object_vars($this));
}


}
2 changes: 1 addition & 1 deletion src/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Task extends Ilovepdf


/**
* Task constructor.
* Task constructor.
* @param null $publicKey
* @param null $secretKey
*/
Expand Down

0 comments on commit befb43b

Please sign in to comment.