stateA; } public function setStateA($state) { $this->stateA = $state; } public function getStateB() { return $this->stateB; } public function setStateB($state) { $this->stateB = $state; } public function setConfirmedNow() { var_dump('I (the object) am set confirmed at '.date('Y-m-d').'.'); } }