/**
  * Private construct prevent object creation using the new keyword.
  *
  * @param DbConfig $dbConfig
  */
 private function __construct($dbConfig)
 {
     new \PDO($dbConfig->getDns(), $dbConfig->getUser(), $dbConfig->getPass());
 }