public function getConnection() { if ($this->_connection === null) { $this->_connection = $this->defaultConnection(); } return $this->_connection; }