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

Bastian Waidelich bastian at typo3.org
Tue Dec 23 19:57:51 CET 2008


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?

Bastian


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