PHP Interface Kdyby\Translation\IResourceLoader

Author: Filip Procházka ([email protected])
Afficher le fichier Open project: kdyby/translation Interface Usage Examples

Méthodes publiques

Méthode Description
addLoader ( string $format, Symfony\Component\Translation\Loader\LoaderInterface $loader ) Adds a loader to the translation extractor.
getLoaders ( ) : Symfony\Component\Translation\Loader\LoaderInterface[]
loadResource ( string $format, string $resource, string $domain, Symfony\Component\Translation\MessageCatalogue $catalogue )

Method Details

addLoader() public méthode

Adds a loader to the translation extractor.
public addLoader ( string $format, Symfony\Component\Translation\Loader\LoaderInterface $loader )
$format string The format of the loader
$loader Symfony\Component\Translation\Loader\LoaderInterface

getLoaders() public méthode

public getLoaders ( ) : Symfony\Component\Translation\Loader\LoaderInterface[]
Résultat Symfony\Component\Translation\Loader\LoaderInterface[]

loadResource() public méthode

public loadResource ( string $format, string $resource, string $domain, Symfony\Component\Translation\MessageCatalogue $catalogue )
$format string
$resource string
$domain string
$catalogue Symfony\Component\Translation\MessageCatalogue