public function buildMasterUrl($path = null) {
        return sprintf('%s://%s/%s', $this->scheme, $this->master, $path ? ltrim($path, '/') : '');
    }
public function buildMasterUrl($path = null) {
        return sprintf('%s://%s/%s', $this->scheme, $this->master, $path ? ltrim($path, '/') : '');
    }
public function buildMasterUrl ( $ path = null ) { return sprintf ( '%s://%s/%s' , $ this -> scheme , $ this -> master , $ path ? ltrim ( $ path , '/' ) : '' ) ; }
Build a URL to a master server path.

@param $path
@return string
Build a URL to a master server path .