public function CasPropertyBag::setAttribute in CAS 8
Same name and namespace in other branches
- 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\casCode
public function setAttribute($name, $value) {
$this->attributes[$name] = $value;
}