src/response/PageResolver.php
public function evaluateWebPage() {
    try {
      $renderer = new PageRenderer($this->webPage, $this->uriVariables);
      $this->response = $renderer->evaluatePage();
      $this->rawRequestBody = $this->response->getResult();
    } catch (WebException $e) {
      // FIXME this is ugly
      $this->thrownWebException = $e;
      $this->rawRequestBody = $this->createRequestBodyFromException();
    } finally {
      $this->evaluated = true;
    }
  }
public function evaluateWebPage() {
    try {
      $renderer = new PageRenderer($this->webPage, $this->uriVariables);
      $this->response = $renderer->evaluatePage();
      $this->rawRequestBody = $this->response->getResult();
    } catch (WebException $e) {
      // FIXME this is ugly
      $this->thrownWebException = $e;
      $this->rawRequestBody = $this->createRequestBodyFromException();
    } finally {
      $this->evaluated = true;
    }
  }
public function evaluateWebPage ( ) { try { $ renderer = new PageRenderer ( $ this -> webPage , $ this -> uriVariables ) ; $ this -> response = $ renderer -> evaluatePage ( ) ; $ this -> rawRequestBody = $ this -> response -> getResult ( ) ; } catch ( WebException $ e ) { // FIXME this is ugly $ this -> thrownWebException = $ e ; $ this -> rawRequestBody = $ this -> createRequestBodyFromException ( ) ; } finally { $ this -> evaluated = true ; } }
Evaluates the given webpage and handles any occuring error
Evaluates the given webpage and handles any occuring error