public function __construct($propertyName, \ReflectionProperty $reflectionProperty, PropertyAnnotationMetadata $propertyAnnotationMetadata) { $this->propertyName = $propertyName; $this->reflectionProperty = $reflectionProperty; $this->propertyAnnotationMetadata = $propertyAnnotationMetadata; $this->isAccessible = $reflectionProperty->isPublic(); }