public static function couldNotInferGetterMethod($entityName, $fieldName) { return new self("Could not infer getter for '{$fieldName}' of Entity '{$entityName}'"); }