| Conditions | 1 |
| Paths | 1 |
| Total Lines | 4 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public static function missingField(string $className, string $fieldName): self |
||
| 10 | { |
||
| 11 | throw new self(sprintf('Could not find a getter or a isser for field "%s". Looked for: "%s::get%s()", "%s::is%s()"', |
||
| 12 | $fieldName, $className, \ucfirst($fieldName), $className, \ucfirst($fieldName))); |
||
| 13 | } |
||
| 21 |