Skip to main content

render_phpdoc_sections

Function render_phpdoc_sections 

Source
pub fn render_phpdoc_sections(
    sections: &RustdocSections,
    throws_class: &str,
) -> String
Expand description

Render RustdocSections as a PHPDoc comment body.

  • # Arguments → @param mixed $name desc
  • # Returns → @return desc
  • # Errors → @throws SampleCrateException desc
  • # Example → ```php fence (replaces ```rust).