PHP Class MenaraSolutions\Geographer\Services\Poliglottas\English

Inheritance: implements MenaraSolutions\Geographer\Contracts\PoliglottaInterface
显示文件 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_oe property

protected string $code
return string

$defaultPrepositions protected_oe property

protected array $defaultPrepositions
return array