Created
July 17, 2019 00:19
-
-
Save viniciusalonso/8766af61690b9e3cfb0c549fb36e4995 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
<?php | |
class Money | |
{ | |
private $value; | |
private $currency; | |
public function __construct($value, $currency) | |
{ | |
$this->value = $value; | |
$this->currency = $currency; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment