HMLB\VW\SecretSoftware::accessProperty PHP Method

accessProperty() private method

private accessProperty ( ReflectionClass $reflection, string $property ) : ReflectionProperty
$reflection ReflectionClass
$property string
return ReflectionProperty
    private function accessProperty(ReflectionClass $reflection, $property)
    {
        $propertyReflection = $reflection->getProperty($property);
        $propertyReflection->setAccessible(true);
        return $propertyReflection;
    }