Symfony's Component "u" for strings

Aymeric Ratinaud - Jan 24 - - Dev Community

I'm discovering Symfony's Component "u".

By setting a string as a parameter, it's converted into an object and processing can be performed. For example u('ipsum dolor sit amet')->title(true); returns "Ipsum Dolor Sit Amet".

https://symfony.com/doc/current/components/string.html

. . . . . . . . . . .