diff --git a/docs/changelog.md b/docs/changelog.md index f6549c6..0a7b5e6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,11 @@ # Release Notes +## v2.9.4 (2024-01-22) + +- Add comment description to the case in `ParserOption` ENUM + +---- + ## v2.9.3 (2024-01-12) - Moved `phpunit` from "require" to "require-dev" in `composer.json` file @@ -184,4 +190,4 @@ ## v1.0 (2019-09-24) -- First ever version +- First ever version \ No newline at end of file diff --git a/src/ParserOption.php b/src/ParserOption.php index 87f6ff0..38bf00b 100644 --- a/src/ParserOption.php +++ b/src/ParserOption.php @@ -6,5 +6,11 @@ enum ParserOption { + /** + * If you pass this option, the parser, instead of getting + * the content of the provided file path, will parse the + * provided string. This option is useful when you want + * to parse a string instead of a file. + */ case PARSE_TEXT; }