Class [ class Roave\BetterReflectionTest\Fixture\ExampleClass ] { @@ %s/test/unit/Fixture/ExampleClass.php 10-61 - Constants [8] { Constant [ public integer MY_CONST_1 ] { 123 } /** * This comment for constant should be used. */ Constant [ public integer MY_CONST_2 ] { 234 } Constant [ public integer MY_CONST_3 ] { 345 } Constant [ protected integer MY_CONST_4 ] { 456 } Constant [ private integer MY_CONST_5 ] { 567 } Constant [ final public integer MY_CONST_6 ] { 678 } Constant [ final protected integer MY_CONST_7 ] { 789 } Constant [ final protected integer MY_CONST_8 ] { 888 } } - Static properties [3] { Property [ public static $publicStaticProperty ] Property [ protected static $protectedStaticProperty ] Property [ private static $privateStaticProperty ] } - Static methods [0] { } - Properties [7] { /** * @var int|float|\stdClass */ Property [ private $privateProperty ] /** * @var bool|bool[]|bool[][] */ Property [ protected $protectedProperty ] /** * @var string */ Property [ public $publicProperty ] Property [ public readonly int $readOnlyProperty ] Property [ public int $finalPublicProperty ] /** Some doccomment */ Property [ private ?int $promotedProperty ] Property [ private $promotedProperty2 ] } - Methods [2] { Method [ public method __construct ] { @@ %s/test/unit/Fixture/ExampleClass.php 54 - 56 - Parameters [3] { Parameter #0 [ ?int $promotedProperty = 123 ] Parameter #1 [ $noPromotedProperty = NULL ] Parameter #2 [ $promotedProperty2 = NULL ] } } Method [ public method someMethod ] { @@ %s/test/unit/Fixture/ExampleClass.php 58 - 60 } } }