Adapter/AdapterUtil.php
public static function setPropertyValue($object, $property, $value): void
    {
        $ref = new \ReflectionClass($object);
        $prop = static::getPrivateProperty($ref, $property);
        $prop->setAccessible(true);
        $prop->setValue($object, $value);
        $prop->setAccessible(false);
    }
public static function setPropertyValue($object, $property, $value): void
    {
        $ref = new \ReflectionClass($object);
        $prop = static::getPrivateProperty($ref, $property);
        $prop->setAccessible(true);
        $prop->setValue($object, $value);
        $prop->setAccessible(false);
    }
public static function setPropertyValue ( $ object , $ property , $ value ) : void { $ ref = new \ ReflectionClass ( $ object ) ; $ prop = static :: getPrivateProperty ( $ ref , $ property ) ; $ prop -> setAccessible ( true ) ; $ prop -> setValue ( $ object , $ value ) ; $ prop -> setAccessible ( false ) ; }
Set the value of private property.

@param object $object   The object
@param string $property The property name
@param mixed  $value    The value
Set the value of private property .