You'd like to use the class MyDBConnection that's defined in the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace, but you want to minimize *as much as possible* the length of the class name you have to type. What would you do?
A.
Import the MyGreatFramework namespace
B.
Import the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace
C.
Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer\MyDBConnection to a shorter name
D.
Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer to a shorter name
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit