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?
- Import the MyGreatFramework namespace
- Import the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace
- Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer\MyDBConnection to a shorter name
- Alias MyGreatFramework\MyGreatDatabaseAbstractionLayer to a shorter name
Reveal Solution
Next Question