Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesvdvreken committed Feb 22, 2016
1 parent a4ee547 commit e6060af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -62,7 +62,7 @@ $psrResponse = $controller->index($exporter);

### CSV exporter

The included CSV exporter (`Madewithlove\Export\Csv\Exporter`) will create the file contents for a CSV export file. For that it uses the Writer class of the `league/csv` package, but that's just an implementation detail. It adheres to the `Madewithlove\Export\Exporter` interface (feel free to make an XML or any other exporter implementation) and returns the file content when you call the `getContent()` method on it. You can define which items it should export by passing an array or an `Iterator` (like a [`Generator`](http://php.net/manual/en/language.generators.overview.php)) to the `setItems($items)` method. You can also optionally set a Transformer to apply a transformation on each row of the given items. This `Transformator` is used by the `League\Csv\Writer` class, and may als implement `Madewithlove\Export\Csv\WithHeaders` contract to let the writer know which headers the CSV file should have.
The included CSV exporter (`Madewithlove\Export\Csv\Exporter`) will create the file contents for a CSV export file. For that it uses the Writer class of the `league/csv` package, but that's just an implementation detail. It adheres to the `Madewithlove\Export\Exporter` interface (feel free to make an XML or any other exporter implementation) and returns the file content when you call the `getContent()` method on it. You can define which items it should export by passing an array or an `Iterator` (like a [`Generator`](http://php.net/manual/en/language.generators.overview.php)) to the `setItems($items)` method. You can also optionally set a Transformer to apply a transformation on each row of the given items. This `Transformer` is used by the `League\Csv\Writer` class, and may implement the `Madewithlove\Export\Csv\WithHeaders` contract to let the writer know which headers the CSV file should have.

### Transformers

Expand Down

0 comments on commit e6060af

Please sign in to comment.