We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add methods for all Generic conversions (42 in total).
The converters are NOT strict. This means, that ::strict() should not be used.
::strict()
Here is the table with the conversion names and corresponding numbers:
snake2camel
snake2pascal
snake2kebab
snake2train
snake2flat
snake2cobol
camel2snake
camel2pascal
camel2kebab
camel2train
camel2flat
camel2cobol
pascal2snake
pascal2camel
pascal2kebab
pascal2train
pascal2flat
pascal2cobol
kebab2snake
kebab2camel
kebab2pascal
kebab2train
kebab2flat
kebab2cobol
train2snake
train2camel
train2pascal
train2kebab
train2flat
train2cobol
flat2snake
flat2camel
flat2pascal
flat2kebab
flat2train
flat2cobol
cobol2snake
cobol2camel
cobol2pascal
cobol2kebab
cobol2train
cobol2flat
Add these converters after public static function flat(string $string): string {
public static function flat(string $string): string {
Use the same format to test
/** * @from I-Am-A--String-With-Sp@ce¥s-14-And-😀-Unicode-Élève * @to i_am_a__string_with_sp@ce¥s_14_and_😀_unicode_élève */ public static function train2snake(string $string): string { // code here }
The text was updated successfully, but these errors were encountered:
[#14] Added converters for generic formatters.
2187c75
[#14] Added converters for generic formatters. (#15)
087b59d
Co-authored-by: Tan Nguyen <raucaixanh04@gmail.com>
Successfully merging a pull request may close this issue.
Add methods for all Generic conversions (42 in total).
The converters are NOT strict. This means, that
::strict()
should not be used.Here is the table with the conversion names and corresponding numbers:
snake2camel
snake2pascal
snake2kebab
snake2train
snake2flat
snake2cobol
camel2snake
camel2pascal
camel2kebab
camel2train
camel2flat
camel2cobol
pascal2snake
pascal2camel
pascal2kebab
pascal2train
pascal2flat
pascal2cobol
kebab2snake
kebab2camel
kebab2pascal
kebab2train
kebab2flat
kebab2cobol
train2snake
train2camel
train2pascal
train2kebab
train2flat
train2cobol
flat2snake
flat2camel
flat2pascal
flat2kebab
flat2train
flat2cobol
cobol2snake
cobol2camel
cobol2pascal
cobol2kebab
cobol2train
cobol2flat
Add these converters after
public static function flat(string $string): string {
Use the same format to test
The text was updated successfully, but these errors were encountered: