/** * Constructor. * * @param string $username The user's username. * @param string $password The user's password. */ public function __construct($username = '', $password = '') { parent::__construct($username, $password); $this->readTopics = new ObjectStorage(); $this->readForum = new ObjectStorage(); }
/** * Constructs a new Front-End User * * @param string $username * @param string $password * @return self */ public function __construct($username = '', $password = '') { parent::__construct($username, $password); }
/** * __construct * * @return void */ public function __construct() { parent::__construct(); //Do not remove the next line: It would break the functionality $this->initStorageObjects(); }