Debian Codegraph @

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

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Doctrine\Inflector\Rules\Turkish;
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
17 /** @return Pattern[] */
18 public static function getPlural(): iterable
19 {
20 yield from self::getDefault();
21 }
22
23 /** @return Pattern[] */
24 private static function getDefault(): iterable
25 {
26 yield new Pattern('lunes');
27 yield new Pattern('rompecabezas');
28 yield new Pattern('crisis');
29 }
30 }