src/User/User.php
public function requestEmailChange($email)
    {
        if ($email !== $this->email) {
            $this->raise(new EmailChangeRequested($this, $email));
        }

        return $this;
    }
public function requestEmailChange($email)
    {
        if ($email !== $this->email) {
            $this->raise(new EmailChangeRequested($this, $email));
        }

        return $this;
    }
public function requestEmailChange ( $ email ) { if ( $ email !== $ this -> email ) { $ this -> raise ( new EmailChangeRequested ( $ this , $ email ) ) ; } return $ this ; }
Request that the user's email be changed.

@param string $email
@return $this
Request that the user s email be changed .