pub fn extract<'a, T>(&'a self) -> Result<T>
    where
        T: FromZendObject<'a>,
    {
        T::from_zend_object(self)
    }
Extracts some type from a Zend object.

This is a wrapper function around `FromZendObject::extract()`.

# Errors

Returns an error if the conversion fails.
src/types/object.rs