*/ public static function infer(bool $classic): string { return $classic ? ClassThatInheritsInterfaceA::class : OtherClassThatInheritsInterfaceA::class; } }