public function __construct(string $name, string $value) { $this->setName($name); $this->setValue($value); }