Response.php in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Namespace
Drupal\n1ed\Flmngr\FlmngrServer\respFile
src/Flmngr/FlmngrServer/resp/Response.phpView source
<?php
namespace Drupal\n1ed\Flmngr\FlmngrServer\resp;
/**
* Response object.
* Converted to JSON when ready to return HTTP response.
*/
class Response {
public $error;
public $data;
/**
* Creates instance.
*/
public function __construct($message, $data) {
$this->error = $message;
$this->data = $data;
}
}