| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 11 | public static function fromInverseSideUsage(  | 
            ||
| 12 | string $entityName,  | 
            ||
| 13 | string $associationFieldName  | 
            ||
| 14 |     ) : self { | 
            ||
| 15 | return new self(  | 
            ||
| 16 | "You cannot search for the association field '".$entityName."#".$associationFieldName."', ".  | 
            ||
| 17 | "because it is the inverse side of an association. Find methods only work on owning side associations."  | 
            ||
| 18 | );  | 
            ||
| 19 | }  | 
            ||
| 20 | }  | 
            ||
| 21 |