Your IP : 3.147.78.185


Current Path : /home/lentoinv/props/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/
Upload File :
Current File : /home/lentoinv/props/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php

<?php

declare(strict_types=1);

namespace Doctrine\Inflector\Rules\Spanish;

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('lunes');
        yield new Pattern('rompecabezas');
        yield new Pattern('crisis');
    }
}

?>