Open Journal Systems
3.3.0
|
Public Member Functions | |
camel ($word) | |
snake ($word) | |
Static Public Member Functions | |
static | getDefault () |
Static Protected Attributes | |
static | $default |
Default inflection implementation
Definition at line 8 of file Inflector.php.
Guzzle\Inflection\Inflector::camel | ( | $word | ) |
Converts strings from snake_case to upper CamelCase
string | $word | Value to convert into upper CamelCase |
Implements Guzzle\Inflection\InflectorInterface.
Definition at line 34 of file Inflector.php.
|
static |
Get the default inflector object that has support for caching
Definition at line 18 of file Inflector.php.
References Guzzle\Inflection\Inflector\$default.
Referenced by Guzzle\Service\Command\Factory\ConcreteClassFactory\__construct(), Guzzle\Service\Resource\ResourceIteratorClassFactory\__construct(), Guzzle\Service\Client\getInflector(), Guzzle\Tests\Inflection\InflectorTest\testCamel(), Guzzle\Tests\Inflection\InflectorTest\testReturnsDefaultInstance(), and Guzzle\Tests\Inflection\InflectorTest\testSnake().
Guzzle\Inflection\Inflector::snake | ( | $word | ) |
Converts strings from camel case to snake case (e.g. CamelCase camel_case).
string | $word | Word to convert to snake case |
Implements Guzzle\Inflection\InflectorInterface.
Definition at line 29 of file Inflector.php.
|
staticprotected |
Definition at line 11 of file Inflector.php.
Referenced by Guzzle\Inflection\Inflector\getDefault().