PHP Class MenaraSolutions\Geographer\Services\DefaultManager

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

Protected Properties

Property Type Description
$brief boolean
$form string
$language string
$path string
$prepositions boolean
$repository MenaraSolutions\Geographer\Contracts\RepositoryInterface
$standard string
$translator MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

Public Methods

Method Description
__construct ( string $path = null, MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface $translator = null, MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository = null ) DefaultConfig constructor.
excludePrepositions ( )
expectsLongNames ( ) : boolean
getDefaultPrefix ( ) : string
getLocale ( ) : string
getRepository ( ) : MenaraSolutions\Geographer\Contracts\RepositoryInterface
getStandard ( ) : string
getStoragePath ( ) : string
getTranslator ( ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
includePrepositions ( )
setForm ( string $form )
setLocale ( $locale )
setRepository ( MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository )
setStandard ( string $standard )
setStoragePath ( string $path )
setTranslator ( MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface $translator )
useLongNames ( )
useShortNames ( )

Method Details

__construct() public method

DefaultConfig constructor.
public __construct ( string $path = null, MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface $translator = null, MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository = null )
$path string
$translator MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
$repository MenaraSolutions\Geographer\Contracts\RepositoryInterface

excludePrepositions() public method

public excludePrepositions ( )

expectsLongNames() public method

public expectsLongNames ( ) : boolean
return boolean

getDefaultPrefix() public static method

public static getDefaultPrefix ( ) : string
return string

getLocale() public method

public getLocale ( ) : string
return string

getRepository() public method

public getRepository ( ) : MenaraSolutions\Geographer\Contracts\RepositoryInterface
return MenaraSolutions\Geographer\Contracts\RepositoryInterface

getStandard() public method

public getStandard ( ) : string
return string

getStoragePath() public method

public getStoragePath ( ) : string
return string

getTranslator() public method

public getTranslator ( ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
return MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

includePrepositions() public method

public includePrepositions ( )

setForm() public method

public setForm ( string $form )
$form string

setLocale() public method

public setLocale ( $locale )
$locale

setRepository() public method

public setRepository ( MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository )
$repository MenaraSolutions\Geographer\Contracts\RepositoryInterface

setStandard() public method

public setStandard ( string $standard )
$standard string

setStoragePath() public method

public setStoragePath ( string $path )
$path string

setTranslator() public method

public setTranslator ( MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface $translator )
$translator MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

useLongNames() public method

public useLongNames ( )

useShortNames() public method

public useShortNames ( )

Property Details

$brief protected property

protected bool $brief
return boolean

$form protected property

protected string $form
return string

$language protected property

protected string $language
return string

$path protected property

protected string $path
return string

$prepositions protected property

protected bool $prepositions
return boolean

$repository protected property

protected RepositoryInterface,MenaraSolutions\Geographer\Contracts $repository
return MenaraSolutions\Geographer\Contracts\RepositoryInterface

$standard protected property

protected string $standard
return string

$translator protected property

protected TranslationAgencyInterface,MenaraSolutions\Geographer\Contracts $translator
return MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface