|The idea with this class is to have a standard and easy way to retrieve the connection info and return your PDO object.|
$conn = DConnect::Connect()
I already uploaded another class that use this one to retrieve the connection and have similar functionality to the one you posted here, managing SQL.
This class works OO way, helping to get the code organized. It will be available soon, just awaiting approval. Please come back later to check it out.
Maybe OO serves this proposit, to get the code organized and therefore it's a good thing to make each class specialized at its very purpose.
Sometimes, the purpose of the class is so simple that you end up with a very simple class.
But yet, the benefit from DConnect class is to facilitate the retrieval of the connection, always the same and easy way. This task than, gets out of the way and one can put his mind to deal with more important things!