HMLB\VW\SecretSoftware::forcePropertyValue PHP Method

forcePropertyValue() private method

private forcePropertyValue ( ReflectionClass $reflection, string $property, mixed $value, mixed $object ) : self
$reflection ReflectionClass
$property string
$value mixed
$object mixed
return self
    private function forcePropertyValue(ReflectionClass $reflection, $property, $value, $object)
    {
        $propertyReflection = $this->accessProperty($reflection, $property);
        $propertyReflection->setValue($object, $value);
        $propertyReflection->setAccessible(false);
        return $this;
    }