PHP Class MenaraSolutions\Geographer\Services\Poliglottas\Russian

Inheritance: extends Base
Exibir arquivo Open project: menarasolutions/geographer

Protected Properties

Property Type Description
$code string
$defaultPrepositions array
$removableLetters array
$replacementsFrom array
$replacementsIn array
$vowels array

Protected Methods

Method Description
getPreposition ( $form, string $result = null ) : string
inflictFrom ( string $template ) : string
inflictIn ( string $template ) : string

Private Methods

Method 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 method

protected getPreposition ( $form, string $result = null ) : string
$form
$result string
return string

inflictFrom() protected method

protected inflictFrom ( string $template ) : string
$template string
return string

inflictIn() protected method

protected inflictIn ( string $template ) : string
$template string
return string

Property Details

$code protected_oe property

protected string $code
return string

$defaultPrepositions protected_oe property

protected array $defaultPrepositions
return array

$removableLetters protected_oe property

protected array $removableLetters
return array

$replacementsFrom protected_oe property

protected array $replacementsFrom
return array

$replacementsIn protected_oe property

protected array $replacementsIn
return array

$vowels protected_oe property

protected array $vowels
return array