PATH:
home
/
lab2454c
/
bancmils.com
/
vendor
/
doctrine
/
inflector
/
lib
/
Doctrine
/
Inflector
/
Rules
<?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; } }
[+]
NorwegianBokmal
[+]
French
[-] Ruleset.php
[edit]
[+]
..
[-] Transformations.php
[edit]
[-] Word.php
[edit]
[+]
Portuguese
[+]
English
[-] Substitutions.php
[edit]
[-] Transformation.php
[edit]
[-] .htaccess
[edit]
[+]
Turkish
[-] Pattern.php
[edit]
[-] Patterns.php
[edit]
[+]
Spanish
[-] Substitution.php
[edit]