class User
Hierarchy
Expanded class hierarchy of User
15 string references to 'User'
- DevelEnforcedDependenciesTest::setUp in tests/
src/ Kernel/ DevelEnforcedDependenciesTest.php - DevelQueryDebugTest::setUp in tests/
src/ Kernel/ DevelQueryDebugTest.php - DevelQueryDebugTest::testEntityQueryDebugTag in tests/
src/ Kernel/ DevelQueryDebugTest.php - Tests devel_query_debug_alter() for entity queries.
- DevelTwigExtensionTest::setUp in tests/
src/ Kernel/ DevelTwigExtensionTest.php - devel_generate_drush_command in devel_generate/
drush/ devel_generate.drush8.inc - Implementation of hook_drush_command().
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
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
BaseUser::getFullName | public | function | * |
User::$additionalData | public | property | |
User::$createdDate | private | property | |
User::$password | private | property | |
User::$username | private | property | |
User::DEFAULT_PATH | constant | ||
User::ensure | public | function | * Dummy method that triggers trace |
User::getCreatedDate | public | function | * |
User::isEqualTo | public | function | * Check is user is equal to another user |
User::ROLE_ALLOWED | constant | ||
User::ROLE_DISALLOWED | constant | ||
User::ROLE_FORBIDDEN | constant | ||
User::setAdditionalData | public | function | * Set additional data * * @array $data |
User::setCreatedDate | public | function | * |
User::setUsername | public | function | * Get data from this demo class * * |
User::__construct | public | function |