Open WinterSilence opened 4 years ago
https://github.com/php-toolkit/file-utils/blob/d0df46514e46b6a720287df2b3634ae096c2e936/src/File.php#L390 = php_strip_whitespace + discover SplFileInfo. Also, YAML files use yaml extension, yml - other file format.
php_strip_whitespace
SplFileInfo
yaml
yml
hi @WinterSilence 😅 These codes were written when I learned to organize them a long time ago, don't care too much.
https://github.com/php-toolkit/file-utils/blob/d0df46514e46b6a720287df2b3634ae096c2e936/src/File.php#L390 =
php_strip_whitespace
+ discoverSplFileInfo
. Also, YAML files useyaml
extension,yml
- other file format.