public function connection($name = null) { if (null === $name) { return $this->defaultConnection(); } // Connection name must be unique if (!isset($this->_connections[$name])) { return false; } return $this->_connections[$name]; }