File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ Use Autowiring to Automate the Configuration of Application Services
170
170
171
171
:doc: `Service autowiring </service_container/autowiring >` is a feature that
172
172
reads the type-hints on your constructor (or other methods) and automatically
173
- passes the correct services to each method, making unnecessary to configure
173
+ passes the correct services to each method, making it unnecessary to configure
174
174
services explicitly and simplifying the application maintenance.
175
175
176
176
Use it in combination with :ref: `service autoconfiguration <services-autoconfigure >`
Original file line number Diff line number Diff line change @@ -943,6 +943,8 @@ following methods::
943
943
944
944
// you can get individual info too
945
945
$startTime = $response->getInfo('start_time');
946
+ // e.g. this returns the final response URL (resolving redirections if needed)
947
+ $url = $response->getInfo('url');
946
948
947
949
// returns detailed logs about the requests and responses of the HTTP transaction
948
950
$httpLogs = $response->getInfo('debug');
You can’t perform that action at this time.
0 commit comments