Quantcast
Channel: Zend Framework – Dev Notes
Viewing all articles
Browse latest Browse all 5

Injecting ZF2 Service Manager into Doctrine Entities

$
0
0
Making ZF2 services available within Doctrine entities is not as trivial as with objects that are created via the ZF2 factory methods. The problem is that Doctrine Entities are not generated via regular ZF2 factory methods but by the Doctrine Entity Manager. Nevertheless it’s possible to inject dependencies into Doctrine entities. Doctrine’s event manager offers […]

Viewing all articles
Browse latest Browse all 5

Trending Articles