| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class HateoasResponseGenerator |
||
| 5 | { |
||
| 6 | private $hateoas; |
||
| 7 | |||
| 8 | public function __construct(\Hateoas\Hateoas $hateoas) |
||
| 9 | { |
||
| 10 | $this->hateoas = $hateoas; |
||
| 11 | } |
||
| 12 | |||
| 13 | public function generate($model, int $httpStatusCode = 200, array $headers = []) : \Psr\Http\Message\ResponseInterface { |
||
| 18 | ); |
||
| 19 | } |
||
| 20 | } |