src/Valkyrja/Annotations/NativeAnnotations.php
public function getPropertyReflection(string $class, string $property): ReflectionProperty
    {
        $index = static::PROPERTY_CACHE . $class . $property;

        return self::$reflections[$index]
            ?? self::$reflections[$index] =
                new ReflectionProperty($class, $property);
    }
public function getPropertyReflection(string $class, string $property): ReflectionProperty
    {
        $index = static::PROPERTY_CACHE . $class . $property;

        return self::$reflections[$index]
            ?? self::$reflections[$index] =
                new ReflectionProperty($class, $property);
    }
Get a property's reflection.

@param string $class    The class
@param string $property The property

@throws \ReflectionException

@return \ReflectionProperty