Total Complexity | 1 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php namespace Pz\Doctrine\Rest\Resource; |
||
5 | class Item extends \League\Fractal\Resource\Item |
||
6 | { |
||
7 | /** |
||
8 | * Item constructor. |
||
9 | * |
||
10 | * @param JsonApiResource $resource |
||
11 | * @param callable|\League\Fractal\TransformerAbstract|null $transformer |
||
12 | */ |
||
13 | 6 | public function __construct(JsonApiResource $resource, $transformer) |
|
18 |