| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Doctrine\Inflector\Rules\Esperanto; |
| 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(''); |
| 27 | } |
| 28 | } |