File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 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
170170
171171:doc: `Service autowiring </service_container/autowiring >` is a feature that
172172reads 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
174174services explicitly and simplifying the application maintenance.
175175
176176Use 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::
943943
944944 // you can get individual info too
945945 $startTime = $response->getInfo('start_time');
946+ // e.g. this returns the final response URL (resolving redirections if needed)
947+ $url = $response->getInfo('url');
946948
947949 // returns detailed logs about the requests and responses of the HTTP transaction
948950 $httpLogs = $response->getInfo('debug');
You can’t perform that action at this time.
0 commit comments