[TYPO3-50-general] ObjectManager and ObjectFactory

Karsten Dambekalns karsten at typo3.org
Thu Nov 20 11:03:30 CET 2008


Hi.

Malte Jansen wrote:
> F3::FLOW3::Object::Manager::getObject(...)
> F3::FLOW3::Object::Factory::create(...)
> 
> Wouldn't it be better, if they have the same naming?

No, a factory creates things. So, create().

The object manager *could* create something, but in most cases it will 
hand out an already existing instance.

Regards,
Karsten


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