Skip to content

Commit

Permalink
Adding route path to the request object
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSteveKing committed May 24, 2024
1 parent b7ba2c4 commit a3075c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"require": {
"php": "^8.1",
"ext-json": "*",
"treblle/utils": "^0.3.1"
"treblle/utils": "^0.3.2"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.7.0",
Expand Down
1 change: 1 addition & 0 deletions src/Factories/DataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public function make(Request $request, JsonResponse|Response|SymfonyResponse $re
Carbon::now('UTC')->format('Y-m-d H:i:s'),
(string) $request->ip(),
$request->fullUrl(),
$request->route(),
strval($request->userAgent()),
Method::from(
$request->method(),
Expand Down

0 comments on commit a3075c8

Please sign in to comment.