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

        $this->_connections[$name] = $dsn;

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

        $this->_connections[$name] = $dsn;

        return $this;
    }
public function addConnection ( $ name , $ dsn ) { if ( isset ( $ this -> _connections [ $ name ] ) ) throw new \ Pheasant \ Exception ( "Connection $name already exists" ) ; $ this -> _connections [ $ name ] = $ dsn ; return $ this ; }
Adds a named connection, with a string dsn
@chainable
Adds a named connection with a string dsn