Releases: hollax/ArrayConfigWriter
Releases · hollax/ArrayConfigWriter
New Features And Bug Fixes
Bug fixes
- Adding new index after the php closing tag for file tag ends with '?>'
- Library not differentiating numeric from string
New Features
Features
- write() method third parameter as predefined constant to determine how to handler updating index
- write() method throws exception if the third argument does match any of required constant
- The library removes whitespace from file using trim()
- Added public method to check error
hasError()
feature Update
=== bug fixes ===
-
Fixed bug where new variable is added to config if the variable to update is not specified
=== New Features ====
-
The writer will add comment only if comment parameter of write() method is set and its array
-
You can decide not to allow the library auto update the file by setting the
third parameter of the construct to false
First stable version
This library has been tested to be working has intended