instanceName = 'default'; } public function getName() { return $this->instanceName; } //the this-> part referers to the variable specific to one instance public function setName($nameIn) { $this->instanceName = $nameIn; } } ?>