You are here

RespFail.php in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2

File

src/Flmngr/FileUploaderServer/lib/action/resp/RespFail.php
View source
<?php

namespace Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\resp;


/**
 * Response about a fail.
 * For conversion to JSON.
 */
class RespFail extends RespOk {
  public $message;

  /**
   * Creates response with a message.
   */
  public function __construct($message) {
    $this->ok = FALSE;
    $this->message = $message;
  }

}

Classes

Namesort descending Description
RespFail Response about a fail. For conversion to JSON.