|
Size: | 8461 |
Storage flags: | no_autoload,compress/gzip (32%) |
This filter modifies a given string such that ‘words_with_underscores’ are converted to ‘WordsWithUnderscores’.
There are no additional options for Zend\Filter\Word\UnderscoreToCamelCase:
A basic example of usage is below:
1 2 3 | $filter = new Zend\Filter\Word\UnderscoreToCamelCase();
print $filter->filter('this_is_my_content');
|
The above example returns ‘ThisIsMyContent’.
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.