value = $value; } /** * @return string Returns the literal's value */ public function __toString(): string { return $this->value; } /** * @param string $value The literal's value * @return self */ public static function from(string $value): Literal { return new self($value); } }