public function apply(object $object, ReflectionProperty $reflectionProperty, callable $objectCopier): void
    {
        $reflectionProperty->setAccessible(true);

        $value = ($this->callback)($reflectionProperty->getValue($object));

        $reflectionProperty->setValue($object, $value);
    }
public function apply(object $object, ReflectionProperty $reflectionProperty, callable $objectCopier): void
    {
        $reflectionProperty->setAccessible(true);

        $value = ($this->callback)($reflectionProperty->getValue($object));

        $reflectionProperty->setValue($object, $value);
    }
public function apply ( object $ object , ReflectionProperty $ reflectionProperty , callable $ objectCopier ) : void { $ reflectionProperty -> setAccessible ( true ) ; $ value = ( $ this -> callback ) ( $ reflectionProperty -> getValue ( $ object ) ) ; $ reflectionProperty -> setValue ( $ object , $ value ) ; }
Replaces the object property by the result of the callback called with the object property.

{@inheritdoc}
Replaces the object property by the result of the callback called with the object property .