ReflectionClass::getProperties

( excerpt* http://php

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

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

Retrieves reflected properties.

Parameters

  • int $filter = 65535

Return Values

  • mixed - An array of ReflectionProperty objects.