JJsonResponse::__construct
Constructor
Signature
public function __construct([mixed
$response = null,
[string
$message = null,
[boolean
$error = false]]] )
Parameters
-
$response
- The Response data
-
$message
- The main response message
-
$error
- True, if the success flag shall be set to false, defaults to false