-
-
Notifications
You must be signed in to change notification settings - Fork 0
Reader
github-actions edited this page Apr 11, 2026
·
1 revision
Reads raw .gitattributes content from the filesystem.
This reader SHALL return the complete textual contents of a .gitattributes file, and MUST yield an empty string when the file does not exist.
- Full name:
\FastForward\DevTools\GitAttributes\Reader - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\GitAttributes\ReaderInterface - This class is a Final class
Reads a .gitattributes file from the specified filesystem path.
public read(string $gitattributesPath): stringParameters:
| Parameter | Type | Description |
|---|---|---|
$gitattributesPath |
string | The filesystem path to the .gitattributes file. |
Return Value:
The raw .gitattributes content, or an empty string when absent.