dhii / stringable-helper-base
处理字符串化对象的辅助功能。
v0.1-alpha2
2018-06-02 15:52 UTC
Requires
- php: ^5.4 | ^7.0
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/php-cs-fixer-config: ^0.1
- dhii/stringable-interface: ^0.1
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
Suggests
- dhii/normalization-helper-base: For using iterables instead of arrays, and stringables instead of strings
This package is auto-updated.
Last update: 2024-09-07 04:05:42 UTC
README
详细信息
处理字符串化对象的辅助功能。
特性
StringableJoinCapableTrait
- 使用分隔符将多个部分连接成一个字符串。StringableSplitCapableTrait
- 使用分隔符将字符串分割成多个部分。StringableReplaceCapableTrait
- 将指定字符串替换为另一个字符串中所有出现的指定字符串。