MCPcopy Create free account
hub / github.com/apache/thrift / setPropertyValue

Method setPropertyValue

lib/php/test/Unit/Lib/ReflectionHelper.php:68–72  ·  view source on GitHub ↗

* Set the value of a private/protected property * * @param object $object * @param string $propertyName * @param mixed $value * @return void */

($object, string $propertyName, $value)

Source from the content-addressed store, hash-verified

66 * @return void
67 */
68 protected function setPropertyValue($object, string $propertyName, $value): void
69 {
70 $property = $this->getAccessibleProperty($object, $propertyName);
71 $property->setValue($object, $value);
72 }
73}

Callers 14

testCloseMethod · 0.80
testReadMethod · 0.80
testReadAllMethod · 0.80
testReadAllThrift4656Method · 0.80
testWriteMethod · 0.80
testAddHeadersMethod · 0.80
testCloseCurlHandleMethod · 0.80
testFlushMethod · 0.80
testFlushMethod · 0.80
testCloseMethod · 0.80
testReadMethod · 0.80
testAddHeadersMethod · 0.80

Calls 2

getAccessiblePropertyMethod · 0.95
setValueMethod · 0.45

Tested by

no test coverage detected