API Documentation
Table of Contents
Namespaces
Functions
- str_to_snake_case() : string
- Convert a string from camelCase or PascalCase to snake_case.
Functions
str_to_snake_case()
Convert a string from camelCase or PascalCase to snake_case.
str_to_snake_case(string $string) : string
Parameters
- $string : string
-
The string to convert
Return values
string —The converted string in snake_case format