*/ class Html extends \Core\OutputWriter { /** * Writes the response */ protected function _writeResponse() { // send output to browser with
for nice formatting
echo "" . var_export($this->_response, true);
}
/**
* Writes an exception
*/
protected function _writeException() {
echo "" . get_class($this->_response) . PHP_EOL . $this->_response->getMessage() . PHP_EOL . $this->_response->getCode() . PHP_EOL . ' Line: ' . $this->_response->getLine() . ' File: ' . PHP_EOL . $this->_response->getFile();
}
}