Issues

ZF2-235: Circular dependency in DI for TableGateway and RowGateway

Issue Type: Task Created: 2012-03-22T12:59:38.000+0000 Last Updated: 2012-07-11T19:05:59.000+0000 Status: Resolved Fix version(s): Reporter: Markus Berger (xbtequila) Assignee: Ralph Schindler (ralph) Tags: - Zend\Db

  • Zend_Db

Related issues: - ZF2-239

Attachments:

Description

When I configure a TableGateway, a ResultSet and a RowGateway for one Table, a Circular dependency Exception is Thrown.

Which is the right way to have a custom TableGateway returning a custom ResultSet and custom RowGateway on select?

Comments

Posted by Adam Lundrigan (adamlundrigan) on 2012-03-23T21:50:47.000+0000

Could you please provide an example of how you are trying to do it?

Also, just in case you haven't yet, take a look at the last example (5.3.1.7) on the TableGateway manual page (here). It shows how to use TableGateway, ResultSet and RowGateway together.

Posted by Ralph Schindler (ralph) on 2012-03-23T21:55:13.000+0000

I am aware of this, and will find a solution for beta4.

Posted by Ralph Schindler (ralph) on 2012-07-11T19:05:59.000+0000

Fixed in beta5

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts