R

Ravina • 3.96K Points
Extraordinary

Q. Which Laravel helper returns the base path of the application?

  • (A) app_path()
  • (B) base_path()
  • (C) config_path()
  • (D) public_path()
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Laravel
  • Hashtags:

Explanation by: Ravina

base_path() returns the root directory of the Laravel installation.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.