Debian Codegraph @

lib/3rdParty/composer/doctrine/inflector/src/Rules/French/Uninflected.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Doctrine\Inflector\Rules\French;
6
7 use Doctrine\Inflector\Rules\Pattern;
8
9 final class Uninflected
10 {
11 /** @return Pattern[] */
12 public static function getSingular(): iterable
13 {
14 yield from self::getDefault();
15
16 yield new Pattern('bois');
17 yield new Pattern('mas');
18 }
19
20 /** @return Pattern[] */
21 public static function getPlural(): iterable
22 {
23 yield from self::getDefault();
24 }
25
26 /** @return Pattern[] */
27 private static function getDefault(): iterable
28 {
29 yield new Pattern('');
30 }
31 }