ReflectionClass::getProperties

( excerpt* http://php

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

net/manual/en/reflectionclass.getproperties.php )

Retrieves reflected properties.

Parameters

  • int $filter = 65535

Return Values

  • mixed - An array of ReflectionProperty objects.