src/Sulu/Component/Import/Import.php
protected function getParser($format)
    {
        if (!isset($this->formatFilePaths[$format])) {
            throw new FormatImporterNotFoundException($format);
        }

        return $this->formatFilePaths[$format];
    }
protected function getParser($format)
    {
        if (!isset($this->formatFilePaths[$format])) {
            throw new FormatImporterNotFoundException($format);
        }

        return $this->formatFilePaths[$format];
    }
protected function getParser ( $ format ) { if ( ! isset ( $ this -> formatFilePaths [ $ format ] ) ) { throw new FormatImporterNotFoundException ( $ format ) ; } return $ this -> formatFilePaths [ $ format ] ; }
Returns the correct parser like XLIFF1.2.

@param $format

@return FormatImportInterface

@throws FormatImporterNotFoundException
Returns the correct parser like XLIFF1 . 2 .