Copied!
Cloneable Instantiable
Methods
public static getProperties ( ReflectionClass $ref )
 

Retrieves all properties (including private ones), from object and all its ancestors.

Standard \ReflectionClass->getProperties() does not return private properties from ancestor classes.

  • author muratyaman@gmail.com
  • see http://php.net/manual/en/reflectionclass.getproperties.php
  • return ReflectionProperty []
public static getProperty ( $object , $name )
 

Retrieves property by name from object and all its ancestors.

  • throws PropertyException
  • throws ReflectionException
  • return ReflectionProperty
Methods
public static getProperties ( ReflectionClass $ref )
 

Retrieves all properties (including private ones), from object and all its ancestors.

Standard \ReflectionClass->getProperties() does not return private properties from ancestor classes.

  • author muratyaman@gmail.com
  • see http://php.net/manual/en/reflectionclass.getproperties.php
  • return ReflectionProperty []
public static getProperty ( $object , $name )
 

Retrieves property by name from object and all its ancestors.

  • throws PropertyException
  • throws ReflectionException
  • return ReflectionProperty
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only