Skip to content

Conversation

lrinaldi
Copy link

Add setter to $tableName

Add setter to $tableName
@lrinaldi lrinaldi changed the title Update AbstractDbMapper.php Added setter for table name AbstractDbMapper Oct 17, 2014
@localheinz
Copy link
Contributor

@lrinaldi

Not so sure whether the table name of a concrete implementation of AbstractDbMapper should change over the lifetime of an instance of it, what do you think?

@adamlundrigan
Copy link
Contributor

@localheinz IMO it should be a constructor argument, but ZfcUser currently uses it's own implementation of setTableName to allow changing the table name so I guess we're stuck with it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants