*/ protected array $segments; public function __construct( SpecialSegment|string $content, ) { if ($content instanceof SpecialSegment) { $this->content = $content->value; $this->specialSegment = $content; } else { $this->content = $content; } } }