Created
July 16, 2015 17:30
-
-
Save nicholasruunu/99ffee180d47adc0d8bf to your computer and use it in GitHub Desktop.
User example
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 characters
final class User | |
{ | |
private $password; | |
public function changePassword($string) | |
{ | |
$this->password = new Password($string); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment