Feature #1848

ComponentManager->getComponent() throws an exception on trying to retrieve a component of prototype scope

Added by Karsten Dambekalns almost 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Object
Start date:
2008-10-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

.

#1

Updated by Karsten Dambekalns almost 13 years ago

  • Priority changed from Should have to Must have
  • Target version set to 1.0 alpha 1
#2

Updated by Robert Lemke almost 13 years ago

  • Status changed from New to Closed

After experimenting with it, I realized that the Component Manager must still be able to return also prototypes, because there simply are situtations in which the client code doesn't know if the target component is prototype or singleton.

Still, getComponent() is rather a low-level infrastructure method than one that should be used everywhere.

Also available in: Atom PDF