CoreFiles by mySites.guru
Uninflected.php32 lines, 688 bytes, from Joomla_6.0.0-Stable-Full_Package.zip
Raw History Compare with 5.4.11
md5
8f7cf9e02fd6f9dc669c8226a51b6db9
sha1
75173899cf569cb9084ca97b0518b858eba117cc
sha256
903fa962ea11d53640212cb29ee50a02da5b58808be437ecfb0827815ce317de
<?php

declare(strict_types=1);

namespace Doctrine\Inflector\Rules\Portuguese;

use Doctrine\Inflector\Rules\Pattern;

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

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

    /** @return Pattern[] */
    private static function getDefault(): iterable
    {
        yield new Pattern('tórax');
        yield new Pattern('tênis');
        yield new Pattern('ônibus');
        yield new Pattern('lápis');
        yield new Pattern('fênix');
    }
}

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.