[TYPO3-50-general] Getting all classes implementing a certain interface

Malte Jansen mail at maltejansen.de
Tue Dec 23 21:20:26 CET 2008


Bastian Waidelich schrieb:
> Malte Jansen wrote:
> 
> Hi Malte,
> 
>> Is there a way to get all classes, which are implementing a certain 
>> interface.
> 
> In the FLOW3 Package you'll find the class F3_FLOW3_Reflection_Service 
> containing the method getAllImplementationClassNamesForInterface().
> Just inject the Reflection Service to your class. Was that what you were 
> looking for?
Hi Bastian,

Yes, that is what I was looking for. Thanks!

I just looked up the Object-Component, where I would have excepected it 
intuitively and forgot about the reflection-service.

Happy X-Mas,

Malte


More information about the TYPO3-project-5_0-general mailing list