setUsernameCanonical() public method

Set usernameCanonical.
public setUsernameCanonical ( string $usernameCanonical )
$usernameCanonical string
Beispiel #1
0
 public function updateParent()
 {
     parent::setEmail($this->getEmail());
     parent::setEmailCanonical($this->getEmailCanonical());
     parent::setPassword($this->getPassword());
     parent::setUsername($this->getUsername());
     parent::setUsernameCanonical($this->getUsernameCanonical());
 }
Beispiel #2
0
 /**
  * Set the canonical email address.
  *
  * @param string $emailCanonical
  *
  * @return User
  */
 public function setEmailCanonical($emailCanonical)
 {
     parent::setUsernameCanonical($emailCanonical);
     return parent::setEmailCanonical($emailCanonical);
 }