Trait ext_php_rs::describe::ToStub
source · pub trait ToStub {
// Required method
fn fmt_stub(&self, buf: &mut String) -> FmtResult;
// Provided method
fn to_stub(&self) -> Result<String, FmtError> { ... }
}
Expand description
Implemented on types which can be converted into PHP stubs.