public function get_driver_name() { if (!$this->driver) { $this->driver = $this->pdo->getAttribute(\PDO::ATTR_DRIVER_NAME); } return $this->driver; }