| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class UserTransformer extends TransformerAbstract |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * List of resources possible to include. |
||
| 12 | * |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | protected $availableIncludes = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * List of resources to automatically include. |
||
| 19 | * |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $defaultIncludes = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @property string name |
||
| 26 | * @property string email |
||
| 27 | */ |
||
| 28 | public function transform(User $user) |
||
| 38 |