Is it possible to implement Separated Interface in PHP?

. If you're looking for an example, you could check out the Cookie Pattern blog.

2 reasons: 1 - information on the pattern is hard to find. 2 - the UML for the pattern omits a crucial detail - the dependency on an external configuration file. – sunwukung Jun 15 '10 at 13:37.

First result: ibm.com/developerworks/opensource/librar... This essentially says to use an abstract class that acts like an interface. Scrolling down a bit, it shows that you can do it interfaces interface Exportable { public function export(); } class OurNews extends ThirdPartyNews implements Exportable { // ... function export() { print "OurNews export\n"; } } class Dictionary implements Exportable, Iterator { function export() { //... } }.

I think the OP does not want to know whether interfaces are possible at all, but asked for an example on the Separated Interface pattern, as given at martinfowler. Com/eaaCatalog/separatedInterface. Html – Gordon Jun 14 '10 at 21:43 Thank you Gordon.

This was not the droid I was looking for Lord Quackstar (;) – sunwukung Jun 15 '10 at 7:30.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions