Skip to content

Commit 1d15f43

Browse files
committed
Merge pull request #16 from Roquie/patch-1
Use dingo request for transform method
2 parents 37bbf1e + ff5bd8e commit 1d15f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transformers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ return $this->collection($users, new UserTransformer, function ($resource, $frac
8989
Should you need a more custom approach to how your data is transformed then you can easily implement your transformation layer with this package. You'll need to create a class that implements `Dingo\Api\Contract\Transformer\Adapter` and has the required `transform` method.
9090

9191
```php
92-
use Illuminate\Http\Request;
92+
use Dingo\Api\Http\Request;
9393
use Dingo\Api\Transformer\Binding;
9494
use Dingo\Api\Contract\Transformer\Adapter;
9595

0 commit comments

Comments
 (0)