Returns various information on the properties of an object.
public static properties ( mixed $class, array $options = [] ) : mixed | ||
$class | mixed | A string class name or an object instance, from which to get methods. |
$options | array | Set of options applied directly (check `_items()` for more options): - `'properties'`: array of properties to gather information from. - `'self'`: If true (default), only returns properties defined in `$class`, excluding properties from inherited classes. |
return | mixed | Returns an array with information about the properties from the class given in $class or null on error. |