Created
July 28, 2021 16:25
-
-
Save dgafka/a7df8aa9086108ccd060e2a0fc3d83fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChangeEmailAddressCommand | |
{ | |
public function __construct(private string $userId, private string $email) {} | |
public function getUserId(): string | |
{ | |
return $this->userId; | |
} | |
public function getEmail(): string | |
{ | |
return $this->email; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment