public function getBuildConnection($database)
    {
        if (!isset($this->buildConnections[$database])) {
            // fallback to default connection settings from build.properties
            return array(
                'dsn'      => $this->url,
                'user'     => $this->userId,
                'password' => $this->password,
            );
        }

        return $this->buildConnections[$database];
    }
public function getBuildConnection($database)
    {
        if (!isset($this->buildConnections[$database])) {
            // fallback to default connection settings from build.properties
            return array(
                'dsn'      => $this->url,
                'user'     => $this->userId,
                'password' => $this->password,
            );
        }

        return $this->buildConnections[$database];
    }
public function getBuildConnection ( $ database ) { if ( ! isset ( $ this -> buildConnections [ $ database ] ) ) { // fallback to default connection settings from build.properties return array ( 'dsn' => $ this -> url , 'user' => $ this -> userId , 'password' => $ this -> password , ) ; } return $ this -> buildConnections [ $ database ] ; }
Get the buildtime connection settings for a given database name.

@param string $database

@return array $buildConnections
Get the buildtime connection settings for a given database name .