Kdyby\Translation\TranslationLoader::addLoader PHP Method

addLoader() public method

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
    public function addLoader($format, LoaderInterface $loader)
    {
        $this->loaders[$format] = $loader;
    }