db->hostname};" . "port={$config_local->db->port};" . "dbname={$config_local->db->database};" . "user={$config_local->db->username};" . "password={$config_local->db->password}"; self::$_instance = new \PDO($dsn); } return self::$_instance; } }