Skip to content

Commit

Permalink
docs: add parseFromFile
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Apr 5, 2021
1 parent 5bdba05 commit 91b16b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ $someJsonText = file_get_contents('...');

// Or you can use static alias of decode:
Comment::parse($json, true);

# Or use file directly
Comment::parseFromFile('/path/to/file.json', true);
```

0 comments on commit 91b16b9

Please sign in to comment.