pub type PropertyGetter<'a, T> = Option<Box<dyn Fn(&T, &mut Zval) -> PhpResult + Send + Sync + 'a>>;
Expand description
A getter for a property
Aliased Type§
pub enum PropertyGetter<'a, T> {
None,
Some(Box<dyn Fn(&T, &mut _zval_struct) -> Result<(), PhpException> + Sync + Send + 'a>),
}