final modifier used for the private(set) property. private(set) makes the property
implicitly final, so the final keyword can be removed.
private(set) syntax and asymmetric visibility properties are supported in PHP 8.4 and later. For details, see
PHP RFC: Asymmetric Visibility v2.