pub fn emit_phpdoc(
out: &mut String,
doc: &str,
indent: &str,
exception_class: &str,
)Expand description
Emit PHPDoc-style comments (/** … */) Used for PHP classes, methods, and properties.
Sanitizes Rust-specific idioms before translating rustdoc sections
(# Arguments → @param, # Returns → @return, # Errors → @throws,
# Example → ```php fence) via render_phpdoc_sections.
exception_class is the PHP exception class name to use in @throws tags.