Class Inflector
Default inflection implementation
- Guzzle\Inflection\Inflector implements Guzzle\Inflection\InflectorInterface
Methods summary
-
public static
getDefault ( )
Get the default inflector object that has support for caching
-
public
snake ( string $word )
Converts strings from camel case to snake case (e.g. CamelCase camel_case).
-
public
camel ( string $word )
Converts strings from snake_case to upper CamelCase
Methods detail
Get the default inflector object that has support for caching
Returns
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
Converts strings from snake_case to upper CamelCase
Parameters
- $word
string
$word Value to convert into upper CamelCase
Returns
string
Implementation of
Magic methods summary
Properties summary
protected static
|
$default |