MenaraSolutions\Geographer\Services\Poliglottas\Russian::inflictIn PHP Метод

inflictIn() защищенный Метод

protected inflictIn ( string $template ) : string
$template string
Результат string
    protected function inflictIn($template)
    {
        $output = $this->removeLastLetterIfNeeded($template);
        if ($this->isTwoWords($template)) {
            $output = $this->attemptToInflictFirstWordIn($output);
        }
        if (array_key_exists($this->getLastLetter($template), $this->replacementsIn['subject'])) {
            $output .= $this->replacementsIn['subject'][$this->getLastLetter($template)];
        }
        return $output;
    }