PHP 8.2.31
Preview: Transformations.php Size: 648 B
/opt/cpanel/ea-wappspector/vendor/doctrine/inflector/src/Rules/Transformations.php

<?php

declare(strict_types=1);

namespace Doctrine\Inflector\Rules;

use Doctrine\Inflector\WordInflector;

class Transformations implements WordInflector
{
    /** @var Transformation[] */
    private $transformations;

    public function __construct(Transformation ...$transformations)
    {
        $this->transformations = $transformations;
    }

    public function inflect(string $word): string
    {
        foreach ($this->transformations as $transformation) {
            if ($transformation->getPattern()->matches($word)) {
                return $transformation->inflect($word);
            }
        }

        return $word;
    }
}

Directory Contents

Dirs: 8 × Files: 8

Name Size Perms Modified Actions
English DIR
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
Esperanto DIR
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
French DIR
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
Italian DIR
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
Spanish DIR
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
Turkish DIR
- drwxr-xr-x 2025-08-10 19:31:58
Edit Download
788 B lrw-r--r-- 2025-08-10 19:31:58
Edit Download
602 B lrw-r--r-- 2025-08-10 19:31:58
Edit Download
777 B lrw-r--r-- 2025-08-10 19:31:58
Edit Download
451 B lrw-r--r-- 2025-08-10 19:31:58
Edit Download
1.34 KB lrw-r--r-- 2025-08-10 19:31:58
Edit Download
790 B lrw-r--r-- 2025-08-10 19:31:58
Edit Download
648 B lrw-r--r-- 2025-08-10 19:31:58
Edit Download
294 B lrw-r--r-- 2025-08-10 19:31:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).