Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?
final class Movement {
function __construct($aParty, $aCounterParty, $anAmount, $aDate){
if ($aDate < Date::today()) {
throw new InvalidMovementDateException($aDate);
} //...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment