PHP Class MenaraSolutions\Geographer\Services\Poliglottas\English

Inheritance: implements MenaraSolutions\Geographer\Contracts\PoliglottaInterface
Show file Open project: menarasolutions/geographer

Protected Properties

Property Type Description
$code string
$defaultPrepositions array

Public Methods

Method Description
translate ( MenaraSolutions\Geographer\Contracts\IdentifiableInterface $subject, string $form = 'default', boolean $preposition = true ) : string

Private Methods

Method Description
getLongName ( array $meta ) : string
getShortName ( array $meta ) : string

Method Details

translate() public method

public translate ( MenaraSolutions\Geographer\Contracts\IdentifiableInterface $subject, string $form = 'default', boolean $preposition = true ) : string
$subject MenaraSolutions\Geographer\Contracts\IdentifiableInterface
$form string
$preposition boolean
return string

Property Details

$code protected property

protected string $code
return string

$defaultPrepositions protected property

protected array $defaultPrepositions
return array