Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Exception/Flow/1238761260

From TYPO3Wiki
Jump to: navigation, search
This page belongs to the Flow Team (category Flow)

notice - Note

Login and contribute! If you encountered this exception, please help others
by providing information about how you got
this error. Especially if you have a solution,
please add it to this page!

This exception is thrown when several implementations exist for one interface. This happens when you use injection to set a property with autowiring by providing an interface. A default implementation must be configured using the objects.yaml file in Configuration folder of the package.

Example configuration (objects.yaml):

 F3\MyPackage\MyPath\MyCustomInterface:
   className: F3\MyPackage\MyPath\MyCustomInterfaceImplementation

If only one class implements the given interface, this class is used by default.