xmlsquad / gsheet-to-xml

Given the url of a Google Sheet, this Symfony Console command fetches the Google Sheet and outputs it in the form of Xml.
Apache License 2.0
2 stars 1 forks source link

Inject the `$headingValues` into `GoogleSpreadsheetReadService` #26

Closed forikal-uk closed 5 years ago

forikal-uk commented 5 years ago

Goal

See issue summary

Why

Because the GoogleSpreadsheetReadService is tied to a certain sheet schema and we want to make it reusable for other domain models.

How

Follow the invocation chain until we can inject the array in a public method.

forikal-uk commented 5 years ago

Variables and methods to find and investigate.

$headingValues

processSpreadsheet processFolder googleSpreadsheetToXml googleFolderToXml

googleUrlToXml

GoogleDriveProcessService::process GsheetToXmlCommand::processDataSource processDataSource

forikal-uk commented 5 years ago

Ok. So, that passes tests and is committed.