ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/doctrine/inflector/src/Rules
/
opt
cpanel
ea-wappspector
vendor
doctrine
inflector
src
Rules
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
English
-
chmod
Open
Rename
Delete
Esperanto
-
chmod
Open
Rename
Delete
French
-
chmod
Open
Rename
Delete
Italian
-
chmod
Open
Rename
Delete
NorwegianBokmal
-
chmod
Open
Rename
Delete
Portuguese
-
chmod
Open
Rename
Delete
Spanish
-
chmod
Open
Rename
Delete
Turkish
-
chmod
Open
Rename
Delete
Pattern.php
788 B
chmod
View
DL
Edit
Rename
Delete
Patterns.php
602 B
chmod
View
DL
Edit
Rename
Delete
Ruleset.php
777 B
chmod
View
DL
Edit
Rename
Delete
Substitution.php
451 B
chmod
View
DL
Edit
Rename
Delete
Substitutions.php
1.34 MB
chmod
View
DL
Edit
Rename
Delete
Transformation.php
790 B
chmod
View
DL
Edit
Rename
Delete
Transformations.php
648 B
chmod
View
DL
Edit
Rename
Delete
Word.php
294 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/doctrine/inflector/src/Rules/Substitutions.php
<?php declare(strict_types=1); namespace Doctrine\Inflector\Rules; use Doctrine\Inflector\WordInflector; use function strtolower; use function strtoupper; use function substr; class Substitutions implements WordInflector { /** @var Substitution[] */ private $substitutions; public function __construct(Substitution ...$substitutions) { foreach ($substitutions as $substitution) { $this->substitutions[$substitution->getFrom()->getWord()] = $substitution; } } public function getFlippedSubstitutions(): Substitutions { $substitutions = []; foreach ($this->substitutions as $substitution) { $substitutions[] = new Substitution( $substitution->getTo(), $substitution->getFrom() ); } return new Substitutions(...$substitutions); } public function inflect(string $word): string { $lowerWord = strtolower($word); if (isset($this->substitutions[$lowerWord])) { $firstLetterUppercase = $lowerWord[0] !== $word[0]; $toWord = $this->substitutions[$lowerWord]->getTo()->getWord(); if ($firstLetterUppercase) { return strtoupper($toWord[0]) . substr($toWord, 1); } return $toWord; } return $word; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply