*/ interface ResponseInterface { /** * set up http response code * @param integer $code * @return $this */ public function setHttpCode($code); /** * use to send error message */ public function send(); /** * write error into log system */ public function trace(); /** * set up exception * @param \Exception $exception * @return $this */ public function setException(\Exception $exception); }