* Set the value of a private/protected property * * @param object $object * @param string $propertyName * @param mixed $value * @return void */
($object, string $propertyName, $value)
| 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 | } |
no test coverage detected