Issues

ZF2-148: Injection in abstract class constructor

Issue Type: Bug Created: 2012-01-24T15:53:10.000+0000 Last Updated: 2012-10-08T20:15:31.000+0000 Status: Closed Fix version(s): Reporter: Alex Pogodin (alex_pogodin) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Di

Related issues: Attachments:

Description

It'll be nice to have opportunity to inject objects in common constructor.

Here's an example: https://github.com/hoochie-coochie/… . Running this test yields Zend\Di\Exception\MissingPropertyException.

Comments

Posted by Evan Coury (evan.pro) on 2012-03-07T10:24:16.000+0000

Confirmed this works with setter injection but not constructor injection as of dd359a2c.

Posted by Maks 3w (maks3w) on 2012-08-28T22:44:38.000+0000

Still happening

Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:31.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2452

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