class Response in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Response object. Converted to JSON when ready to return HTTP response.
Hierarchy
- class \Drupal\n1ed\Flmngr\FlmngrServer\resp\Response
Expanded class hierarchy of Response
1 file declares its use of Response
- FlmngrServer.php in src/
Flmngr/ FlmngrServer/ FlmngrServer.php
File
- src/
Flmngr/ FlmngrServer/ resp/ Response.php, line 9
Namespace
Drupal\n1ed\Flmngr\FlmngrServer\respView source
class Response {
public $error;
public $data;
/**
* Creates instance.
*/
public function __construct($message, $data) {
$this->error = $message;
$this->data = $data;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Response:: |
public | property | ||
Response:: |
public | property | ||
Response:: |
public | function | Creates instance. |