Type Definition ext_php_rs::zend::ClassEntry[][src]

pub type ClassEntry = zend_class_entry;
Expand description

A PHP class entry.

Represents a class registered with the PHP interpreter.

Implementations

Attempts to find a reference to a class in the global class table.

Returns a reference to the class if found, or None if the class could not be found or the class table has not been initialized.

Returns the class flags.

Returns true if the class entry is an interface, and false otherwise.

Checks if the class is an instance of another class or interface.

Parameters
  • ce - The inherited class entry to check.

Returns an iterator of all the interfaces that the class implements.

Returns None if the interfaces have not been resolved on the class.

Returns the parent of the class.

If the parent of the class has not been resolved, it attempts to find the parent by name. Returns None if the parent was not resolved and the parent was not able to be found by name.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.