pub fn gen_php_error_methods_impl(error: &ErrorDef, core_import: &str) -> StringExpand description
Generate a #[php_class] + #[php_impl] block for the error type, storing
the whitelisted introspection method return values as Rust fields exposed via
#[php_method].
Returns an empty string when error.methods is empty.