morphos\RussianGeneralDeclension::getVinitCaseByAnimateness PHP Method

getVinitCaseByAnimateness() protected method

protected getVinitCaseByAnimateness ( array $forms, $animate )
$forms array
    protected function getVinitCaseByAnimateness(array $forms, $animate)
    {
        if ($animate) {
            return $forms[RussianCases::RODIT_2];
        } else {
            return $forms[RussianCases::IMENIT_1];
        }
    }