You are here

class User in Devel 8

Same name and namespace in other branches
  1. 8.2 kint/kint/examples/overview.php \User

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

Namesort descending Modifiers Type Description Overrides
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