Created
January 21, 2016 10:19
-
-
Save Akii/4ba0dbdd2e3d85451072 to your computer and use it in GitHub Desktop.
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
<?php | |
class ValueObject { | |
protected $value; | |
public function equals(ValueObject $other) { | |
return $this->value === $other->value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment