CoolCMS API

ImportParserFactory
in package

FinalYes

Picks the parser by {@see ProductImportFormat}.

ProductImportManager injects only this factory and is format-independent. The parsers are stateless (no I/O in the constructor), so DI creates all three and the factory only selects.

Table of Contents

Properties

$csvImportParser  : CsvImportParser
$jsonImportParser  : JsonImportParser
$xmlImportParser  : XmlImportParser

Methods

__construct()  : mixed
create()  : ImportParserInterface

Properties

Methods

On this page

Search results