Skip to content

Instantly share code, notes, and snippets.

@kevindaus
Created August 23, 2016 20:32
Show Gist options
  • Save kevindaus/60bfa1ce6759e159f2eb3236fcabf080 to your computer and use it in GitHub Desktop.
Save kevindaus/60bfa1ce6759e159f2eb3236fcabf080 to your computer and use it in GitHub Desktop.
Person class in public gist
<?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