interface WriterInterface

Classes implementing this interface can write collection to csv file Interface WriterInterface

Methods

mixed
prepare()

Prepare the writer before writing the items

mixed
writeItem(CSVEntityInterface $entity)

No description

mixed
writeCustomItem(PrimaryKeyInterface $entity)

No description

mixed
writeCollection(mixed $collection)

No description

$this
finish()

Wrap up the writer after all items have been written

Details

at line 27
mixed prepare()

Prepare the writer before writing the items

Return Value

mixed

at line 34
mixed writeItem(CSVEntityInterface $entity)

Parameters

CSVEntityInterface $entity

Return Value

mixed

at line 41
mixed writeCustomItem(PrimaryKeyInterface $entity)

Parameters

PrimaryKeyInterface $entity

Return Value

mixed

at line 49
mixed writeCollection(mixed $collection)

Parameters

mixed $collection

Return Value

mixed

at line 56
$this finish()

Wrap up the writer after all items have been written

Return Value

$this