You are here

public function CasPropertyBag::__construct in CAS 2.x

Same name and namespace in other branches
  1. 8 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
Data model for CAS property bag.

Namespace

Drupal\cas

Code

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