19 require_once(BASE.
"wcmf/lib/presentation/class.Request.php");
20 require_once(BASE.
"wcmf/lib/presentation/class.Response.php");
42 $this->_request = $request;
43 $this->_response = $response;
45 parent::__construct($message, $code);
73 $class =
new ReflectionClass(get_class($this));
74 $codeMap = array_flip($class->getConstants());
75 if (isset($codeMap[$this->getCode()])) {
76 return $codeMap[$this->getCode()];
Request holds the request values that are used as input to Controller instances. It is typically inst...
Response holds the response values that are used as output from Controller instances. It is typically instantiated by the ActionMapper instance and filled during Controller execution.
__construct(Request $request, Response $response, $message=null, $code=0)