public function baseUrl()
    {
        if (!$this->baseUrl) {
            $this->baseUrl = $this->request->getScheme()
                . '://' . $this->request->getHttpHost();
        }
        return $this->baseUrl;
    }
public function baseUrl()
    {
        if (!$this->baseUrl) {
            $this->baseUrl = $this->request->getScheme()
                . '://' . $this->request->getHttpHost();
        }
        return $this->baseUrl;
    }
public function baseUrl ( ) { if ( ! $ this -> baseUrl ) { $ this -> baseUrl = $ this -> request -> getScheme ( ) . '://' . $ this -> request -> getHttpHost ( ) ; } return $ this -> baseUrl ; }
Gets the base url

@return string
Gets the base url