Last active
June 26, 2021 19:28
-
-
Save mcsee/4713b63031ad073d46701b7b4c81b028 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
<? | |
class Employee { | |
function taxesPayedUntilToday() { | |
return database()->select( | |
"SELECT TAXES FROM EMPLOYEE". | |
" WHERE ID = " . $this->id() . | |
" AND DATE < " . currentDate()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment