public function addConnection($name, $dsn) { if (isset($this->_connections[$name])) { throw new \Pheasant\Exception("Connection {$name} already exists"); } $this->_connections[$name] = $dsn; return $this; }