correct )protected function responseFactory($content=null, $statusCode=null)
mast repair)
public function response()
{
//setter
if(func_num_args()>=2){
//2 args setter
list($statusCode,$content) = func_get_args();//corrent version
list($content,$statusCode) = func_get_args();// after version
may revers args.
$app->response("Hello Error!",500);
correct )protected function responseFactory($content=null, $statusCode=null)
mast repair) public function response() { //setter if(func_num_args()>=2){ //2 args setter list($statusCode,$content) = func_get_args();//corrent version list($content,$statusCode) = func_get_args();// after version