[TYPO3-team-core-v5] Upcoming commit: Big change in the component manager
Malte Jansen
mail at maltejansen.de
Tue Jul 22 23:01:25 CEST 2008
Hi Robert,
I think the function isComponentRegistered should also be provided by
the factory to avoid the exception of an unregistered component, if you
call a component dynamically.
Cheers,
Malte
Robert Lemke schrieb:
> Therefore I decided to extract the getComponent() method from the
> component manager and put it into
> its own class, the Component Factory. The average class will, in the
> future, only need the Component
> Factory and doesn't care about the advanced functions of the Component
> Manager. And the factory will
> only contain the getComponent() method - which is extremely easy to mock.
More information about the TYPO3-team-core-v5
mailing list