Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | protected function setParentPrivatePropertyValue($name, $value) |
||
13 | { |
||
14 | $reflectionProperty = new \ReflectionProperty(get_parent_class($this), $name); |
||
15 | $reflectionProperty->setAccessible(true); |
||
16 | $reflectionProperty->setValue($this, $value); |
||
17 | $reflectionProperty->setAccessible(false); |
||
18 | |||
19 | return $this; |
||
20 | } |
||
21 | |||
36 |