A

Admin • 831K Points
Coach

Q. Which design pattern is used by DB::get_connection()?

  • (A) Factory
  • (B) Singleton
  • (C) Observer
  • (D) Builder
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category Trishul API
  • Hashtags:

Explanation by: Admin
It returns the same PDO instance (singleton).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.