Re: [PHP-DEV] Functorial interfaces

2016-05-12 Thread Marco Perone
On 12/05/2016 19:02, Rowan Collins wrote: On 12/05/2016 17:47, Andreas Heigl wrote: It's the other way around. The interface creates a contract that ensures that you can use ALL methods available in your SpecialClass. I don't think that's what the interface in the example means: interface Fo

[PHP-DEV] Functorial interfaces

2016-05-12 Thread Marco Perone
Hi everybody, I hope this is the right place for asking such a question. If that's not the case, please excuse me; I'd appreciate if you could redirect me to the appropriate place. The PHP manual says, regarding Interfaces, that the class implementing the interface must use the exact same met