Skip to content

Commit 720dbd8

Browse files
README.md: Reflection::(set|get)StaticPropertyValue() documented.
1 parent da843d2 commit 720dbd8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ The public API of this package is presented via the `Reflection` class. All meth
4949

5050
Please note that `classByObject()` returns a `\ReflectionClass` and not a `\ReflectionObject`.
5151

52-
* Methods to acces the values of object properties:
52+
* Methods to acces the values of object or static class properties:
5353

5454
```php
5555
Reflection::getPropertyValue(object $object, string $propertyName) : mixed
56-
Reflection::setPropertyValue(object $object, string $propertyName, $value)
56+
Reflection::setPropertyValue(object $object, string $propertyName, $value) : void
57+
Reflection::getStaticPropertyValue(string $className, string $propertyName) : mixed
58+
Reflection::setStaticPropertyValue(string $className, string $propertyName, $value) : void
5759
```
5860

5961

0 commit comments

Comments
 (0)