[FLOW3-general] Object Framework vs. new

Michael Sauter mail at michaelsauter.net
Tue Feb 2 17:41:34 CET 2010


On 02.02.10 16:47, Robert Lemke wrote:
> Hi Michael,
>
> Am 02.02.2010 um 16:31 schrieb Michael Sauter:
>
>> I recently used the class \F3\FLOW3\Reflection\ClassReflection in my application and wanted to retrieve it via the object framework. I got the exception that the class is not registered (#1166550023).
>>
>> After having a look how it is used in other contexts, I discovered that throughout FLOW3, it is always instantiated with the new operator.
>>
>> Now, I don't really get why this is different to the other classes? Why is it used that way? Shouldn't all objects be retrieved from the object framework?
>
> That's not on purpose, please open an issue for that.
>
> Background information: Many classes within FLOW3 which are used very early in the bootstrap need to be registered manually in FLOW3's Objects.yaml file because there is no package manager or object manager yet which could register these classes. In the case of the classes in the Reflection sub package we just forgot to register them.
>
> robert

Thanks!

I opened an issue for that.



More information about the FLOW3-general mailing list