Feature #3588

Support value objects in the Object Factory

Added by Robert Lemke about 12 years ago. Updated over 10 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
Category:
Object
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
12.00 h
PHP Version:
Has patch:
Complexity:

Description

The Object Factory should have special support for value objects.

Value objects are in fact a mixture of protoype and singleton - although multiple instances of a class may exist, we should only create one instance with the same constructor arguments. The Object Factory (and Object Manager) should return an existing value object if a new one with exactly the same arguments (properties) is requested.


Related issues

Related to TYPO3.Flow - Major Feature #3585: Implement support for value objectsNew2009-06-05

Actions

Also available in: Atom PDF