class ImportEvent extends Event

Class ImportEvent

Methods

__construct( AbstractImport $import, SerializerInterface $serializer)

Event constructor

getImport()

Get import

$this
setImport( AbstractImport $import)

Set import

$this
setSerializer( SerializerInterface $serializer)

Set serializer

array
getErrors()

Get errors

$this
setErrors( array $errors)

Set errors

Details

at line 46
__construct( AbstractImport $import, SerializerInterface $serializer)

Event constructor

Parameters

AbstractImport $import An import
SerializerInterface $serializer A serializer interface

at line 57
AbstractImport getImport()

Get import

Return Value

AbstractImport An import

at line 69
$this setImport( AbstractImport $import)

Set import

Parameters

AbstractImport $import An import

Return Value

$this Return $this, allow chaining

at line 81
SerializerInterface getSerializer()

Get serializer

Return Value

SerializerInterface A serializer interface

at line 93
$this setSerializer( SerializerInterface $serializer)

Set serializer

Parameters

SerializerInterface $serializer A serializer interface

Return Value

$this Return $this, allow chaining

at line 105
array getErrors()

Get errors

Return Value

array Errors list

at line 117
$this setErrors( array $errors)

Set errors

Parameters

array $errors Errors list

Return Value

$this Return $this, allow chaining