I would use self::getConnection() instead of self::$connection, that makes it easier to move the place the connection object is stored in the future