You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
656 B
656 B
CHANGELOG
5.1.0
- added the
AbstractString::reverse()
method - made
AbstractString::width()
follow POSIX.1-2001 - added
LazyString
which provides memoizing stringable objects - The component is not marked as
@experimental
anymore - added the
s()
helper method to get either anUnicodeString
orByteString
instance, depending of the input string UTF-8 compliancy - added
$cut
parameter toSymfony\Component\String\AbstractString::truncate()
- added
AbstractString::containsAny()
- allow passing a string of custom characters to
ByteString::fromRandom()
5.0.0
- added the component as experimental