Is it possible to implement Separated Interface in PHP?

Posted by sunwukung on Stack Overflow See other posts from Stack Overflow or by sunwukung
Published on 2010-06-14T21:10:55Z Indexed on 2010/06/14 21:12 UTC
Read the original article Hit count: 290

Filed under:
|
|

I recently asked a question regarding the resolution of dependencies between Unit of Work and Data Mapper classes: http://stackoverflow.com/questions/3012657/dependency-injection-and-unit-of-work-pattern - (which was answered by Gabor de Mooij - thx)

In PoEAA, Martin Fowler suggests using Separated Interface to manage these dependencies. My question is simple - is it actually possible to implement this pattern in PHP, or is it specific to Java interfaces? I've searched high and low and it's hard to find references to this pattern anywhere outside of PoEAA.

© Stack Overflow or respective owner

Related posts about php

Related posts about unit-of-work