You are here

public function GeneratorInterface::wordList in Style Guide 8

Same name and namespace in other branches
  1. 2.x src/GeneratorInterface.php \Drupal\styleguide\GeneratorInterface::wordList()

Return a simple array of words.

Parameters

int $size: The size of the list to return.

int $words: The number of words to generate.

Return value

array An array of words.

1 method overrides GeneratorInterface::wordList()
Generator::wordList in src/Generator.php
Return a simple array of words.

File

src/GeneratorInterface.php, line 23

Class

GeneratorInterface
Interface GeneratorInterface.

Namespace

Drupal\styleguide

Code

public function wordList($size = 5, $words = 3);