tags:

views:

51

answers:

1

How does this syntax look?

class Priorities {

//Declaring the collective
$private family;
$private friends;
$protected vocation;

//Starters 
private function __construct() {
    define("CONSTANT", "Jesus Christ");
    define("CONSTANT", "Some World");
}

private function setMyTrunk() {
     return $this->family + $this->friends;
}


protected function setGiveBack($empathy) {
     $this->vocation = $this->senseOfPurpose() * $empathy;
}

public function senseOfPurpose() {
     define("PEOPLE", "Us all together");
     return PEOPLE;
}

}

A: 

Looks like it has not much use as a computer program :)

arbithero