\Symfony\ComponentString

Namespaces

Exception
Inflector
Slugger

Classes

AbstractString Represents a string of abstract characters.
AbstractUnicodeString Represents a string of abstract Unicode characters.
ByteString Represents a binary-safe string of bytes.
CodePointString Represents a string of Unicode code points encoded as UTF-8.
LazyString A string whose value is computed lazily by a callback.
UnicodeString Represents a string of Unicode grapheme clusters encoded as UTF-8.

Functions

b()

b(?string  $string = '') : \Symfony\Component\String\ByteString

Parameters

?string $string

Returns

\Symfony\Component\String\ByteString —

s()

s(?string  $string = '') : \Symfony\Component\String\UnicodeString|\Symfony\Component\String\ByteString

Parameters

?string $string

Returns

\Symfony\Component\String\UnicodeString|\Symfony\Component\String\ByteString —

u()

u(?string  $string = '') : \Symfony\Component\String\UnicodeString

Parameters

?string $string

Returns

\Symfony\Component\String\UnicodeString —