Created
September 18, 2017 18:08
-
-
Save rgomezcasas/f2c10174a194c4a233b4bee3f06a1ccf to your computer and use it in GitHub Desktop.
Revisions
-
rgomezcasas created this gist
Sep 18, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ <?php final class RenameUserCommand extends Command { private $userId; private $newName; public function __construct(string $userId, string $newName) { $this->userId = $userId; $this->newName = $newName; } public function userId(): string { return $this->userId; } public function newName(): string { return $this->newName; } }