pub fn gen_visitor_interface(
trait_type: &TypeDef,
bridge_cfg: &TraitBridgeConfig,
namespace: &str,
type_paths: &HashMap<String, String>,
) -> StringExpand description
Generate a PHP interface stub definition for the trait. This allows PHP users to implement the interface and pass their implementation to functions.