PHP Интерфейс MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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

Описание методов

excludePrepositions() публичный Метод

public excludePrepositions ( ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
Результат MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

getRepository() публичный Метод

public getRepository ( ) : MenaraSolutions\Geographer\Contracts\RepositoryInterface
Результат MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository

getSupportedLanguages() публичный Метод

public getSupportedLanguages ( ) : array
Результат array

includePrepositions() публичный Метод

public includePrepositions ( ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
Результат MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

setForm() публичный Метод

public setForm ( $form ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
$form
Результат MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

setRepository() публичный Метод

public setRepository ( MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository ) : MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface
$repository MenaraSolutions\Geographer\Contracts\RepositoryInterface
Результат MenaraSolutions\Geographer\Contracts\TranslationAgencyInterface

translate() публичный Метод

public translate ( MenaraSolutions\Geographer\Contracts\IdentifiableInterface $subject, string $language ) : string
$subject MenaraSolutions\Geographer\Contracts\IdentifiableInterface
$language string
Результат string