ImportHandler
class ImportHandler
Class ImportHandler
Methods
__construct(
EventDispatcherInterface $eventDispatcher,
SerializerManager $serializerManager,
ArchiverManager $archiverManager,
ContainerInterface $container)
Class constructor
null|Import
getImport(
integer $importId,
boolean $dispatchException = false)
Get import model based on given identifier
null|Import
getImportByRef(
string $importRef,
boolean $dispatchException = false)
Get import model based on given reference
null|ImportCategory
getCategory(
integer $importCategoryId,
boolean $dispatchException = false)
Get import category model based on given identifier
import(
Import $import,
File $file,
Lang $language = null)
Import
null|AbstractArchiver
matchArchiverByExtension(
string $fileName)
Match archiver relative to file name
null|AbstractSerializer
matchSerializerByExtension(
string $fileName)
Match serializer relative to file name
File
extractArchive(
File $file,
ArchiverInterface $archiver)
Extract archive
Details
at line 67
__construct(
EventDispatcherInterface $eventDispatcher,
SerializerManager $serializerManager,
ArchiverManager $archiverManager,
ContainerInterface $container)
Class constructor
at line 89
null|Import
getImport(
integer $importId,
boolean $dispatchException = false)
Get import model based on given identifier
at line 117
null|Import
getImportByRef(
string $importRef,
boolean $dispatchException = false)
Get import model based on given reference
at line 145
null|ImportCategory
getCategory(
integer $importCategoryId,
boolean $dispatchException = false)
Get import category model based on given identifier
at line 172
ImportEvent
import(
Import $import,
File $file,
Lang $language = null)
Import
at line 226
null|AbstractArchiver
matchArchiverByExtension(
string $fileName)
Match archiver relative to file name
at line 245
null|AbstractSerializer
matchSerializerByExtension(
string $fileName)
Match serializer relative to file name
at line 265
File
extractArchive(
File $file,
ArchiverInterface $archiver)
Extract archive