SyntaxFix
Write A Post
Hire A Developer
Questions
Add getter and setter method to your class.
public function setValue($new_value) { $this->testvar = $new_value; } public function getValue() { return $this->testvar; }