芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php
callback = $callable; } /** * Replaces the object property by the result of the callback called with the object property. * * {@inheritdoc} */ public function apply($object, $property, $objectCopier) { $reflectionProperty = ReflectionHelper::getProperty($object, $property); $reflectionProperty->setAccessible(true); $value = call_user_func($this->callback, $reflectionProperty->getValue($object)); $reflectionProperty->setValue($object, $value); } }