src/entities/User.php
public function edit(string $username, string $email) : void
    {
        $this->username = $username;
        $this->email    = $email;
    }
public function edit(string $username, string $email) : void
    {
        $this->username = $username;
        $this->email    = $email;
    }
public function edit ( string $ username , string $ email ) : void { $ this -> username = $ username ; $ this -> email = $ email ; }
Editing a user.
@param string $username
@param string $email
@return void
Editing a user .