# LineMatch

> Represents how often the content of a line occurs in the other input, as Git's xdl_cleanup_records() classifies the lines before the alignment of PHPForge\Diff\LineDiffer.

[API reference](/docs/api/index.md) › [Diff](/docs/extensions/diff/reference/index.md) › LineMatch

| enum | `PHPForge\Diff\LineMatch` |
| --- | --- |
| Source | [`src/LineMatch.php`](https://github.com/php-forge/diff/blob/main/src/LineMatch.php#L11) |

Represents how often the content of a line occurs in the other input, as Git's `xdl_cleanup_records()` classifies the
lines before the alignment of [`LineDiffer`](/docs/extensions/diff/reference/linediffer/index.md).

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-Matched"></span>`Matched` |  | The line occurs in the other input fewer times than the multi-match limit and takes part in the alignment. |
| <span id="case-Multimatched"></span>`Multimatched` |  | The line occurs in the other input at least as many times as the multi-match limit and is discarded when it sits inside a run of unmatched lines. |
| <span id="case-Unmatched"></span>`Unmatched` |  | The line does not occur in the other input and is always changed. |