Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
maztch committed Apr 12, 2017
2 parents 35f5da1 + 270e88e commit ff7087b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
machine:
php:
version: 7.1.3
43 changes: 43 additions & 0 deletions src/PdfaTask.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php

namespace Ilovepdf;
/**
* Class CompressTask
*
* @package Ilovepdf
*/
class PdfaTask extends Task
{
/**
* @var string
*/
public $conformance = "default";

/**
* CompressTask constructor.
* @param string $publicKey
* @param string $secretKey
*/
function __construct($publicKey, $secretKey)
{
$this->tool = 'pdfa';
parent::__construct($publicKey, $secretKey);
}

/**
* @param string $conformance
*/
public function setConformance($conformance)
{
$this->conformance = $conformance;
}

/**
* @param null $processData
* @return mixed
*/
public function execute($processData = null)
{
return parent::execute(get_object_vars($this));
}
}

0 comments on commit ff7087b

Please sign in to comment.