public function setBaseUrl($url, $replace = true)
    {
        if ($replace || !$this->baseUrl) {
            $this->baseUrl = $url;
        }

        return $this;
    }
public function setBaseUrl($url, $replace = true)
    {
        if ($replace || !$this->baseUrl) {
            $this->baseUrl = $url;
        }

        return $this;
    }
public function setBaseUrl ( $ url , $ replace = true ) { if ( $ replace || ! $ this -> baseUrl ) { $ this -> baseUrl = $ url ; } return $ this ; }
Set the base URL

@see http://requirejs.org/docs/api.html#config-baseUrl
@param string $url
@param bool $replace Replace the base url if it was already set.
@return self
Set the base URL