Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
3 / 3 |
CRAP | |
100.00% |
3 / 3 |
AbstractPayURequest | |
100.00% |
1 / 1 |
|
100.00% |
3 / 3 |
3 | |
100.00% |
3 / 3 |
getDataObject() | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
getPath() | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
getMethod() | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
<?php | |
/** | |
* @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl> | |
*/ | |
namespace Team3\PayU\Communication\Request; | |
use Team3\PayU\Serializer\SerializableInterface; | |
abstract class AbstractPayURequest implements PayURequestInterface | |
{ | |
/** | |
* @var SerializableInterface | |
*/ | |
protected $data; | |
/** | |
* @var string | |
*/ | |
protected $path; | |
/** | |
* @return SerializableInterface | |
*/ | |
public function getDataObject() | |
{ | |
return $this->data; | |
} | |
/** | |
* @return string | |
*/ | |
public function getPath() | |
{ | |
return $this->path; | |
} | |
/** | |
* @return string | |
*/ | |
public function getMethod() | |
{ | |
return self::METHOD_POST; | |
} | |
} |