public function Response::__construct in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Creates instance.
File
- src/
Flmngr/ FlmngrServer/ resp/ Response.php, line 18
Class
- Response
- Response object. Converted to JSON when ready to return HTTP response.
Namespace
Drupal\n1ed\Flmngr\FlmngrServer\respCode
public function __construct($message, $data) {
$this->error = $message;
$this->data = $data;
}