Skip to content

Commit 91b16b9

Browse files
committed
docs: add parseFromFile
1 parent 5bdba05 commit 91b16b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@ $someJsonText = file_get_contents('...');
5252

5353
// Or you can use static alias of decode:
5454
Comment::parse($json, true);
55+
56+
# Or use file directly
57+
Comment::parseFromFile('/path/to/file.json', true);
5558
```

0 commit comments

Comments
 (0)