public function getDbConnection() { if ($this->_db === null) { $this->_db = $this->createDbConnection(); } return $this->_db; }