src/Http/JsonResponse.php
public function prepareSuccess($message, $data=[], $code=200) {
        $this->prepareResult(true, $message, $code, $data, null);
    }
public function prepareSuccess($message, $data=[], $code=200) {
        $this->prepareResult(true, $message, $code, $data, null);
    }
public function prepareSuccess ( $ message , $ data = [ ] , $ code = 200 ) { $ this -> prepareResult ( true , $ message , $ code , $ data , null ) ; }
Produces a failed response
@param string $message
@param mixed $data
@param int $code
Produces a failed response