value === '') { throw new \LogicException('Value must not be empty', 1651671582); } $this->length = strlen($this->value); $this->ident = md5($this->type . '::' . ($this->value)); } public function __toString(): string { return $this->value; } }