pub trait IntoZvalDyn {
// Required methods
fn as_zval(&self, persistent: bool) -> Result<Zval>;
fn get_type(&self) -> DataType;
// Provided method
fn stub_value(&self) -> String { ... }
}Expand description
Required Methods§
Provided Methods§
Sourcefn stub_value(&self) -> String
fn stub_value(&self) -> String
Returns the PHP stub representation of this value.
This is used when generating PHP stub files for IDE autocompletion. The returned string should be a valid PHP literal.