Created
August 23, 2016 20:32
-
-
Save kevindaus/60bfa1ce6759e159f2eb3236fcabf080 to your computer and use it in GitHub Desktop.
Person class in public gist
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 | |
/** | |
* Person | |
*/ | |
class Person extends BadPerson | |
{ | |
public $firstname; | |
public $lastname; | |
public $isGoodPerson; | |
function __construct($firstname,$lastname,$isGoodPerson = false) | |
{ | |
$this->firstname; | |
$this->lastname; | |
$this->isGoodPerson; | |
} | |
public function canGoToHeaven() | |
{ | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment