« Previous | Next » 

Revision c89382bd

IDc89382bdf3f2cd89919031a8471dde99e6f44ac5

Added by Robert Lemke about 13 years ago

  • FLOW3: (Component) Renamed the method Component::Factory->getComponent() to Component::Factory->create(). Resolves #1846
  • FLOW3: (Component) Component::Factory->create() will now throw an exception on trying to create a component of scope != prototype
  • FLOW3: (Component) The Component::Manager->getComponent() method can still be used as a last resort to retrieve components of any scope. However dependency injection for singletons and the component factory for prototype should always be the first choice!

Refactored all packages of the TYPO3 distribution to match the above changes.

Note: The test "F3::TYPO3CR::NodeTest::setPropertySetsValue" currently fails on my machine with the following message:

Error in setPropertySetsValue with data set #34 Detail
TYPO3CR/Classes/F3_TYPO3CR_Node.php:577
Unable to convert value of type string to Name: Namespace prefix is invalid
  • added
  • modified
  • copied
  • renamed
  • deleted