[TYPO3-dev] Hooks with interface

Steffen Kamper info at sk-typo3.de
Sun Mar 1 17:58:18 CET 2009


Hi,

Malte Jansen schrieb:
> Hi Steffen,
> 
> you could create a second interface, which is extended by the old one.
> 
> So you just have to check in the code, if the interface is an instanceOf 
>  second interface.
> 

yes, this is possible, but ends up in a new file each change. Later 
you'll have 10 files , 9 of them extend first interface. Doesn't looks 
nice to me.

vg Steffen




More information about the TYPO3-dev mailing list