class User in Devel 8
Same name and namespace in other branches
Hierarchy
Expanded class hierarchy of User
2 string references to 'User'
- UserDataCollector::getTitle in webprofiler/
src/ DataCollector/ UserDataCollector.php - Returns the datacollector title.
- webprofiler.services.yml in webprofiler/
webprofiler.services.yml - webprofiler/webprofiler.services.yml
File
- kint/
kint/ examples/ overview.php, line 27
View source
class User extends BaseUser {
const DEFAULT_PATH = 'some/default/path';
const ROLE_DISALLOWED = 1;
const ROLE_ALLOWED = 2;
const ROLE_FORBIDDEN = 3;
public $additionalData;
private $username = 'demo_username';
private $password = 'demo_password';
private $createdDate;
public function __construct() {
}
/**
* Check is user is equal to another user
*/
public function isEqualTo(BaseUser $user) {
}
/**
* Get data from this demo class
*
* @param string $username
*
* @return array
*/
public function setUsername($username) {
}
/**
* Set additional data
*
* @array $data
*/
public function setAdditionalData(array $data) {
$this->additionalData = $data;
}
/**
* @return \DateTime date object
*/
public function getCreatedDate() {
}
/**
* @param \DateTime $date
*/
public function setCreatedDate(DateTime $date) {
$this->createdDate = $date;
}
/**
* Dummy method that triggers trace
*/
public function ensure() {
Kint::trace();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseUser:: |
public | function | * | |
User:: |
public | property | ||
User:: |
private | property | ||
User:: |
private | property | ||
User:: |
private | property | ||
User:: |
constant | |||
User:: |
public | function | * Dummy method that triggers trace | |
User:: |
public | function | * | |
User:: |
public | function | * Check is user is equal to another user | |
User:: |
constant | |||
User:: |
constant | |||
User:: |
constant | |||
User:: |
public | function | * Set additional data * * @array $data | |
User:: |
public | function | * | |
User:: |
public | function | * Get data from this demo class * * | |
User:: |
public | function |