operator = $operator; $this->value = $value; $this->prohibited = $prohibited; } public function getOperator(): string { return $this->operator; } public function getValue(): string { return $this->value; } public function __toString(): string { return ($this->prohibited ? '-' : '') . $this->operator . ':' . $this->value; } }