Interface Guzzle\Inflection\InflectorInterface

Implemented byGuzzle\Inflection\Inflector, Guzzle\Inflection\MemoizingInflector, Guzzle\Inflection\PreComputedInflector

Inflector interface used to convert the casing of words

Public Methods

Hide inherited methods

MethodDescriptionDefined By
camel() Converts strings from snake_case to upper CamelCase Guzzle\Inflection\InflectorInterface
snake() Converts strings from camel case to snake case (e.g. CamelCase camel_case). Guzzle\Inflection\InflectorInterface

Method Details

camel() public abstract method

Converts strings from snake_case to upper CamelCase

public abstract string camel ( $word )
$word string

Value to convert into upper CamelCase

snake() public abstract method

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

public abstract string snake ( $word )
$word string

Word to convert to snake case