src/Isolate/LazyObjects/Object/PropertyAccessor.php
public function set($object, $propertyName, $value)
    {
        $this->validateObject($object);
        $reflection = new \ReflectionClass($object);
        $this->validateProperty($reflection, $object, $propertyName);
        $property = $reflection->getProperty($propertyName);
        $property->setAccessible(true);
        $property->setValue($object, $value);
    }
public function set($object, $propertyName, $value)
    {
        $this->validateObject($object);
        $reflection = new \ReflectionClass($object);
        $this->validateProperty($reflection, $object, $propertyName);
        $property = $reflection->getProperty($propertyName);
        $property->setAccessible(true);
        $property->setValue($object, $value);
    }
@param $object
@param $propertyName
@param $value
@throws InvalidArgumentException
@throws NotExistingPropertyException

@api