Class MemoizingInflector
Decorator used to add memoization to previously inflected words
- Guzzle\Inflection\MemoizingInflector implements Guzzle\Inflection\InflectorInterface
public
|
|
public
string
|
|
public
string
|
|
protected
|
#
pruneCache( string $cache )
Prune one of the named caches by removing 20% of the cache if it is full |
protected
array
|
$cache
Array of cached inflections |
#
array(
'snake' => array(),
'camel' => array()
)
|
protected
integer
|
$maxCacheSize
Max entries per cache |
|
protected
|
$decoratedInflector
Decorated inflector |