PHP Interface MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

Mostra file Open project: menarasolutions/geographer Interface Usage Examples

Public Methods

Method Description
excludePrepositions ( ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
getRepository ( ) : MenaraSolutions\Geographer\Contracts\RepositoryInterface
getSupportedLanguages ( ) : array
includePrepositions ( ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
setForm ( $form ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
setRepository ( MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
translate ( MenaraSolutions\Geographer\Contracts\IdentifiableInterface $subject, string $language ) : string

Method Details

excludePrepositions() public method

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

getRepository() public method

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

getSupportedLanguages() public method

public getSupportedLanguages ( ) : array
return array

includePrepositions() public method

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

setForm() public method

public setForm ( $form ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
$form
return MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

setRepository() public method

public setRepository ( MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
$repository MenaraSolutions\Geographer\Contracts\RepositoryInterface
return MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

translate() public method

public translate ( MenaraSolutions\Geographer\Contracts\IdentifiableInterface $subject, string $language ) : string
$subject MenaraSolutions\Geographer\Contracts\IdentifiableInterface
$language string
return string