You are here

public function CasPropertyBag::setUsername in CAS 8

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

Username property setter.

Parameters

string $user: The new username.

File

src/CasPropertyBag.php, line 55

Class

CasPropertyBag
Class CasPropertyBag.

Namespace

Drupal\cas

Code

public function setUsername($user) {
  $this->username = $user;
}