You are here

public function EnsureEvent::__construct in Flysystem 8

Same name and namespace in other branches
  1. 3.x src/Event/EnsureEvent.php \Drupal\flysystem\Event\EnsureEvent::__construct()
  2. 2.0.x src/Event/EnsureEvent.php \Drupal\flysystem\Event\EnsureEvent::__construct()
  3. 3.0.x src/Event/EnsureEvent.php \Drupal\flysystem\Event\EnsureEvent::__construct()

Constructs an EnsureEvent object.

Parameters

string $scheme: The scheme.

int $severity: The severity.

string $message: The message.

array $context: The context for the message.

File

src/Event/EnsureEvent.php, line 52

Class

EnsureEvent
The event fired for every result from an ensure() call.

Namespace

Drupal\flysystem\Event

Code

public function __construct($scheme, $severity, $message, array $context) {
  $this->scheme = $scheme;
  $this->severity = $severity;
  $this->message = $message;
  $this->context = $context;
}