Test the export to csv functionality.
Fix call to method add on non object.
Fix call to method on undefined object.
Merge branch 'csv-export' of github.com:Tactics/TableBundle into csv-export
Create exportToCsv method.
Fix invalid row data.
Fix call to method getValue on a non object. Cell is an array, not an object.
Fix call to undefined function str_lreplace.
Fix typo in the expected value.
Fix not using the returned string from str_lreplace.
Refactor: introduce method that creates the csv string and writes headers.
Refactor: create cleanUpLastRow method that deals with trailing delimiters.
Refactor: introduce a method that deals with adding newline character.
Refactor: rename the method that deals with writing csv headers.
Refactor: use the cleanupLastRow and createNewLineCharacter methods everywhere.
Refactor: Create the createCsvRow method.
Refactor: create a removeLastNewLineCharacter method name.
Refactor tests, I am planning to work with datatransformers and implementing the visitor pattern in the table object.
Create DataTransformerInterface, implement it by creating a CsvDataTransformer.
Refactor the createNewLineCharacter method to appendNewLineCharacter.