| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class PaperKeyFactory |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Factorize a new PaperKey object with the given word list. |
||
| 13 | * |
||
| 14 | * @param \KoenHoeijmakers\PaperKeyGenerator\WordLists\Interfaces\WordListInterface $wordList |
||
| 15 | * @return \KoenHoeijmakers\PaperKeyGenerator\PaperKeyGenerator |
||
| 16 | */ |
||
| 17 | public static function create(WordListInterface $wordList) |
||
| 18 | { |
||
| 19 | return new PaperKeyGenerator($wordList); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Factorize a new PaperKey object with a english word list. |
||
| 24 | * |
||
| 25 | * @return \KoenHoeijmakers\PaperKeyGenerator\PaperKeyGenerator |
||
| 26 | */ |
||
| 27 | public static function english() |
||
| 30 | } |
||
| 31 | } |
||
| 32 |