Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 75% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | class RequestUrlHelper extends RequestUrl implements PropertyAccessorInterface |
||
16 | { |
||
17 | use PropertyAccessorTrait; |
||
18 | |||
19 | /** |
||
20 | * Access a property. |
||
21 | * |
||
22 | * @param string $property the property to access. |
||
23 | * @param mixed|null $default the default value. |
||
24 | * |
||
25 | * @return mixed |
||
26 | * @throws InvalidArgumentException when property does not exists |
||
27 | */ |
||
28 | 3 | public function getObjectProperty($property, $default = null) |
|
37 |