πŸ“Š Trishul API
Q. How is the Request object provided to controllers?
  • (A) Manually instantiated
  • (B) Injected automatically via constructor
  • (C) Fetched from global variable
  • (D) Loaded via config file
πŸ’¬ Discuss
βœ… Correct Answer: (B) Injected automatically via constructor

Explanation: Request object is automatically injected into the controller constructor.

Explanation by: Roshan
Request object is automatically injected into the controller constructor.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
4 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
92%
Success Rate