\Guzzle\InflectionInflectorInterface

Inflector interface used to convert the casing of words

Summary

Methods
Constants
snake()
camel()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

snake()

snake(string  $word) : string

Converts strings from camel case to snake case (e.g. CamelCase camel_case).

Parameters

string $word

Word to convert to snake case

Returns

string

camel()

camel(string  $word) : string

Converts strings from snake_case to upper CamelCase

Parameters

string $word

Value to convert into upper CamelCase

Returns

string