| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ReflectionHelper |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * returns a new instance of a class with the protected property available for changing. |
||
| 19 | * |
||
| 20 | * @param string $className |
||
| 21 | * @param string $propertyName |
||
| 22 | * @return object object of the classname provded |
||
| 23 | */ |
||
| 24 | public static function allowAccessToProperty(string $className, string $propertyName) |
||
| 39 |