You are here

public function InflectorTest::dataSampleWords in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/inflector/tests/Doctrine/Tests/Common/Inflector/InflectorTest.php \Doctrine\Tests\Common\Inflector\InflectorTest::dataSampleWords()

Singular & Plural test data. Returns an array of sample words.

Return value

array

File

vendor/doctrine/inflector/tests/Doctrine/Tests/Common/Inflector/InflectorTest.php, line 15

Class

InflectorTest

Namespace

Doctrine\Tests\Common\Inflector

Code

public function dataSampleWords() {
  Inflector::reset();

  // in the format array('singular', 'plural')
  return array(
    array(
      'categoria',
      'categorias',
    ),
    array(
      'house',
      'houses',
    ),
    array(
      'powerhouse',
      'powerhouses',
    ),
    array(
      'Bus',
      'Buses',
    ),
    array(
      'bus',
      'buses',
    ),
    array(
      'menu',
      'menus',
    ),
    array(
      'news',
      'news',
    ),
    array(
      'food_menu',
      'food_menus',
    ),
    array(
      'Menu',
      'Menus',
    ),
    array(
      'FoodMenu',
      'FoodMenus',
    ),
    array(
      'quiz',
      'quizzes',
    ),
    array(
      'matrix_row',
      'matrix_rows',
    ),
    array(
      'matrix',
      'matrices',
    ),
    array(
      'vertex',
      'vertices',
    ),
    array(
      'index',
      'indices',
    ),
    array(
      'Alias',
      'Aliases',
    ),
    array(
      'Media',
      'Media',
    ),
    array(
      'NodeMedia',
      'NodeMedia',
    ),
    array(
      'alumnus',
      'alumni',
    ),
    array(
      'bacillus',
      'bacilli',
    ),
    array(
      'cactus',
      'cacti',
    ),
    array(
      'focus',
      'foci',
    ),
    array(
      'fungus',
      'fungi',
    ),
    array(
      'nucleus',
      'nuclei',
    ),
    array(
      'octopus',
      'octopuses',
    ),
    array(
      'radius',
      'radii',
    ),
    array(
      'stimulus',
      'stimuli',
    ),
    array(
      'syllabus',
      'syllabi',
    ),
    array(
      'terminus',
      'termini',
    ),
    array(
      'virus',
      'viri',
    ),
    array(
      'person',
      'people',
    ),
    array(
      'glove',
      'gloves',
    ),
    array(
      'crisis',
      'crises',
    ),
    array(
      'tax',
      'taxes',
    ),
    array(
      'wave',
      'waves',
    ),
    array(
      'bureau',
      'bureaus',
    ),
    array(
      'cafe',
      'cafes',
    ),
    array(
      'roof',
      'roofs',
    ),
    array(
      'foe',
      'foes',
    ),
    array(
      'cookie',
      'cookies',
    ),
    array(
      'identity',
      'identities',
    ),
    array(
      'criteria',
      'criterion',
    ),
    array(
      'curve',
      'curves',
    ),
    array(
      '',
      '',
    ),
  );
}