[TYPO3-german] [TYPO3 CMS 7.6] Dependency Injection

Philipp Gampe philipp.gampe at typo3.org
Wed Feb 3 09:58:59 CET 2016


Hi Michael,

Michael wrote:

> Hallo zusammen,
> 
> Ich habe einen Controller der eine Utility Klasse injected. Jetzt möchte
> ich von dieser Utility Klasse auch auf den Controller zugreifen. Wenn ich
> den Controller allerdings in meiner Utility Klasse via inject einbaue,
> bekomme ich einen "Cyclic dependency" Fehler. Gibt es in meiner Utility
> Klasse irgendeine Verbindung zu meinem Controller? Ist das immer nur eine
> Einbahnstraße?
> 



> Viele Grüße
> Michael
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Certified Integrator – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!



More information about the TYPO3-german mailing list