public function __construct($id = null, $value = null) { if ($id !== null) { $this->parameters['id'] = $id; } if ($value !== null) { $this->parameters['value'] = $value; } }