public function __construct($name, $value, $category) { $this->name = $name; $this->value = $value; $this->category = $category; }