public function addExtractor(string $format, ExtractorContract $extractor): void
    {
        $this->extractors[$format] = $extractor;
    }
public function addExtractor(string $format, ExtractorContract $extractor): void
    {
        $this->extractors[$format] = $extractor;
    }
public function addExtractor ( string $ format , ExtractorContract $ extractor ) : void { $ this -> extractors [ $ format ] = $ extractor ; }
Adds a loader to the translation extractor.

@param string                                            $format
@param \Viserio\Component\Contract\Translation\Extractor $extractor

@return void
Adds a loader to the translation extractor .