Created
January 24, 2012 19:52
-
-
Save technosailor/1672182 to your computer and use it in GitHub Desktop.
Formula for a Day
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
class Technosailor_Day { | |
public var $coffee; | |
public function __construct( $coffee = 5 ) | |
{ | |
$this->coffee = $coffee; | |
$this->is_productive(); | |
} | |
private function is_productive() | |
{ | |
if( $this->coffee >= 5 ) | |
return true; | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment