* Get the value of a private/protected property * * @param object $object * @param string $propertyName * @return mixed */
($object, string $propertyName)
| 51 | * @return mixed |
| 52 | */ |
| 53 | protected function getPropertyValue($object, string $propertyName) |
| 54 | { |
| 55 | $property = $this->getAccessibleProperty($object, $propertyName); |
| 56 | |
| 57 | return $property->getValue($object); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Set the value of a private/protected property |
no test coverage detected