PHP Class MenaraSolutions\Geographer\Services\Poliglottas\Russian

Inheritance: extends Base
Afficher le fichier Open project: menarasolutions/geographer

Protected Properties

Свойство Type Description
$code string
$defaultPrepositions array
$removableLetters array
$replacementsFrom array
$replacementsIn array
$vowels array

Méthodes protégées

Méthode Description
getPreposition ( $form, string $result = null ) : string
inflictFrom ( string $template ) : string
inflictIn ( string $template ) : string

Private Methods

Méthode Description
attemptToInflictFirstWordFrom ( $string ) : string
attemptToInflictFirstWordIn ( $string ) : string
getLastLetter ( $string, integer $count = 1 ) : string
isTwoWords ( $string ) : boolean
isVowel ( string $character ) : boolean
removeLastLetter ( $string, integer $count = 1 ) : string
removeLastLetterIfNeeded ( $template ) : string

Method Details

getPreposition() protected méthode

protected getPreposition ( $form, string $result = null ) : string
$form
$result string
Résultat string

inflictFrom() protected méthode

protected inflictFrom ( string $template ) : string
$template string
Résultat string

inflictIn() protected méthode

protected inflictIn ( string $template ) : string
$template string
Résultat string

Property Details

$code protected_oe property

protected string $code
Résultat string

$defaultPrepositions protected_oe property

protected array $defaultPrepositions
Résultat array

$removableLetters protected_oe property

protected array $removableLetters
Résultat array

$replacementsFrom protected_oe property

protected array $replacementsFrom
Résultat array

$replacementsIn protected_oe property

protected array $replacementsIn
Résultat array

$vowels protected_oe property

protected array $vowels
Résultat array