CoreFiles by mySites.guru
Uninflected.php31 lines, 599 bytes, from Joomla_6.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 6.2.0-beta1
md5
2652cc0e9994c513f16ea515fcad2d4f
sha1
48a4ccdd344506c295cc7fc7c902b277af739470
sha256
66f40c2ce81639ed989511216a7200bb5601e3cde72b3ba50f3cdaeca251c772
<?php

declare(strict_types=1);

namespace Doctrine\Inflector\Rules\French;

use Doctrine\Inflector\Rules\Pattern;

final class Uninflected
{
    /** @return Pattern[] */
    public static function getSingular(): iterable
    {
        yield from self::getDefault();

        yield new Pattern('bois');
        yield new Pattern('mas');
    }

    /** @return Pattern[] */
    public static function getPlural(): iterable
    {
        yield from self::getDefault();
    }

    /** @return Pattern[] */
    private static function getDefault(): iterable
    {
        yield new Pattern('');
    }
}

The same content is in 46 releases, Joomla 6.0.0-rc1 to 6.3.0-alpha1. See them all, or every version of this file.