Class Inflector
Default inflection implementation
-
Guzzle\Inflection\Inflector
implements
Guzzle\Inflection\InflectorInterface
Methods summary
public static
Guzzle\Inflection\MemoizingInflector
|
#
getDefault( )
Get the default inflector object that has support for caching
Get the default inflector object that has support for caching
Returns
|
public
string
|
#
snake( string $word )
Converts strings from camel case to snake case (e.g. CamelCase
camel_case).
Converts strings from camel case to snake case (e.g. CamelCase
camel_case).
Parameters
- $word
string $word Word to convert to snake case
Returns
string
Implementation of
|
public
string
|
#
camel( string $word )
Converts strings from snake_case to upper CamelCase
Converts strings from snake_case to upper CamelCase
Parameters
- $word
string $word Value to convert into upper CamelCase
Returns
string
Implementation of
|