You are here

public function CasPropertyBag::setAttribute in CAS 8

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

Adds a single attribute.

Parameters

string $name: The attribute name.

mixed $value: The attribute value.

File

src/CasPropertyBag.php, line 127

Class

CasPropertyBag
Class CasPropertyBag.

Namespace

Drupal\cas

Code

public function setAttribute($name, $value) {
  $this->attributes[$name] = $value;
}