芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/tblonline.org/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
rulesets = array_merge([$ruleset], $rulesets); } public function inflect(string $word) : string { if ($word === '') { return ''; } foreach ($this->rulesets as $ruleset) { if ($ruleset->getUninflected()->matches($word)) { return $word; } $inflected = $ruleset->getIrregular()->inflect($word); if ($inflected !== $word) { return $inflected; } $inflected = $ruleset->getRegular()->inflect($word); if ($inflected !== $word) { return $inflected; } } return $word; } }