ReflectionClass::getProperties

( excerpt* http://php.net/manual/en/reflectionclass.getproperties.php )

public function getProperties(
  int $filter = 65535,
): varray<ReflectionProperty>;

Retrieves reflected properties.

Parameters

  • int $filter = 65535

Returns

  • mixed - An array of ReflectionProperty objects.