Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
3 / 3 |
BuildRequest | |
100.00% |
1 / 1 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
3 / 3 |
__construct | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
process | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
<?php | |
namespace PHPixie\HTTPProcessors\Processor; | |
class BuildRequest implements \PHPixie\Processors\Processor | |
{ | |
protected $http; | |
public function __construct($http) | |
{ | |
$this->http = $http; | |
} | |
public function process($serverRequest) | |
{ | |
return $this->http->request($serverRequest); | |
} | |
} |