You are here

public function CasPreValidateEvent::setParameter in CAS 8

Same name and namespace in other branches
  1. 2.x src/Event/CasPreValidateEvent.php \Drupal\cas\Event\CasPreValidateEvent::setParameter()

Sets a single parameter.

Parameters

string $key: The key of the parameter.

mixed $value: The value of the parameter.

File

src/Event/CasPreValidateEvent.php, line 88

Class

CasPreValidateEvent
Class CasPreValidateEvent.

Namespace

Drupal\cas\Event

Code

public function setParameter($key, $value) {
  $this->parameters[$key] = $value;
}