| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 11 | public static function becauseFieldNotFoundIn(  | 
            ||
| 12 | string $entityName,  | 
            ||
| 13 | string $fieldName,  | 
            ||
| 14 | string $method  | 
            ||
| 15 |     ) : self { | 
            ||
| 16 | return new self(  | 
            ||
| 17 | "Entity '".$entityName."' has no field '".$fieldName."'. ".  | 
            ||
| 18 | "You can therefore not call '".$method."' on the entities' repository."  | 
            ||
| 19 | );  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 27 |