You are here

public function AuthorizationResponse::__construct in Authorization 8

AuthorizationResponse constructor.

Parameters

string $message: Message.

bool $skipped: Authorization skipped.

array $authorizations_applied: Authorizations applied.

File

src/AuthorizationResponse.php, line 43

Class

AuthorizationResponse
Response object for the output of grantsAndRevokes().

Namespace

Drupal\authorization

Code

public function __construct(string $message, bool $skipped, array $authorizations_applied) {
  $this->message = $message;
  $this->skipped = $skipped;
  $this->authorizationsApplied = $authorizations_applied;
}