[TYPO3-mvc] typo3.eclipse.extender with object manager in Extbase

Martin Kutschker masi-no at spam-typo3.org
Wed Oct 6 16:50:14 CEST 2010


Am 06.10.2010 16:27, schrieb Bastian Waidelich:
> Martin Kutschker wrote:
> 
>> But how will the factory create a new object if not with "new"?
> 
> new would still work as before if no factory is registered yet or if the registered factories return
> FALSE.

I mean *within* the factory. The client code does "$obj = new MyInterface;" and the factory will
after resolving the real class name use "new" to create the instance.

> Anyways, there's probably not much sense in discussing the usefulness of an RFC that will most
> probably never make it in the language.

The better the proposal the higher the chance.

And besides that the submitter (Robert) may easily counter arguments he has seen before in
discussions outside of the PHP community.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list