You are here

public function CasPropertyBag::__construct in CAS 8

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

Contructor.

Parameters

string $user: The username of the CAS user.

File

src/CasPropertyBag.php, line 44

Class

CasPropertyBag
Class CasPropertyBag.

Namespace

Drupal\cas

Code

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