Skip to content

Convert rustdoc to php annotations #369

@Xenira

Description

@Xenira

Maybe it wouldn't hurt to move this conversation off this issue 😁

We might be able to convert rustdoc conventions into PHP ones with this technique. No reason the rust version couldn't do the standard:

/// Gives you a nice greeting!

/// 

/// # Arguments

///

/// * `name` - Your name

/// 

/// # Returns

///

/// Nice greeting! 

#[php_function]

pub fn hello_world(name: String) -> String {

    format!("Hello, {}!", name)

}

Originally posted by @vodik in #129

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestideaAn idea that might or might not be a good fit

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions