Q. Which method returns the request URL?

Code:
$url = $request->____();
  • (A) url
  • (B) getUrl
  • (C) get_url
  • (D) fetch_url
πŸ’¬ Discuss
βœ… Correct Answer: (C) get_url
Explanation: get_url() returns the current request URL.
Explanation by: Roshan
get_url() returns the current request URL.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
4
Total Visits
πŸ“½οΈ
2 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
90%
Success Rate