php-etl icon indicating copy to clipboard operation
php-etl copied to clipboard

Undefined ContextInterface.getTableName()

Open umpirsky opened this issue 9 years ago • 3 comments

Called in DBALLoader on ContextInterface.

umpirsky avatar Jan 19 '16 18:01 umpirsky

it exists https://github.com/docteurklein/php-etl/blob/master/src/Knp/ETL/Context/Doctrine/DBALContext.php#L20

I think we don't pass the correct instance of Context

docteurklein avatar Feb 04 '16 08:02 docteurklein

@docteurklein But it is type hinted against ContextInterface and it does not have getTableName(). :)

umpirsky avatar Feb 04 '16 08:02 umpirsky

yep that's a design probem

docteurklein avatar Feb 04 '16 09:02 docteurklein