DriverManager class?
Which statement is true about the
Connection.
DriverManager class?
Which statement is true about the
Connection.
The DriverManager class is responsible for managing a list of database drivers and establishing a connection to a database. It returns an instance of a Connection which represents a database connection. The correct answer is that it returns an instance of Connection.
A is correct
A is correct. The DriverManager returns an instance of Doctrine\DBAL\Connection which is a wrapper around the underlying driver connection.
A is correct.