| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | public function __construct( |
||
| 24 | SetterInterface $method, |
||
| 25 | string $fieldName, |
||
| 26 | Throwable $previous |
||
| 27 | ) { |
||
| 28 | $this->name = $method->getName(); |
||
| 29 | $message = 'Could not write property "' . $fieldName . '" with ' . $this->name . ': ' . $previous->getMessage(); |
||
| 30 | parent::__construct(500, $message, $previous); |
||
| 31 | } |
||
| 44 |