Method |
Description |
|
dataSampleWords ( ) : array |
Singular & Plural test data. Returns an array of sample words. |
|
dataStringsCamelize ( ) : array |
Strings which are used for testCamelize. |
|
dataStringsClassify ( ) : array |
Strings which are used for testClassify. |
|
dataStringsTableize ( ) : array |
Strings which are used for testTableize. |
|
testCamelize ( $expected, $word ) : void |
|
|
testClassify ( $expected, $word ) : void |
|
|
testCustomPluralRule ( ) : void |
testCustomPluralRule method |
|
testCustomRuleWithReset ( ) : void |
Test resetting inflection rules. |
|
testCustomSingularRule ( ) : void |
testCustomSingularRule method |
|
testInflectingPlurals ( $singular, $plural ) : void |
testInflectingPlurals method |
|
testInflectingSingulars ( $singular, $plural ) : void |
testInflectingSingulars method |
|
testRulesClearsCaches ( ) : void |
test that setting new rules clears the inflector caches. |
|
testTableize ( $expected, $word ) : void |
|
|
testUcwords ( ) : void |
Test basic ucwords functionality. |
|
testUcwordsWithCustomDelimeters ( ) : void |
Test ucwords functionality with custom delimeters. |
|