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