« Previous | Next » 

Revision 346c7b21

ID346c7b217838bbe42eacbd5e01c482791bbb9393

Added by Karsten Dambekalns about 7 years ago

[BUGFIX] Make DI work with Doctrine using newInstanceWithoutConstructor()

This change does two things:

  • make sure Doctrine uses the Flow ClassReflection even after
    wakeupReflection() has been called
  • override newInstanceWithoutConstructor() in ClassReflection to call
    __wakeup(), so DI works.

This fixes an issue with a workaround in Doctrine that broke DI on PHP
5.4.29, 5.5.13 as well as 5.6.x.

Change-Id: I8a4b7bd00ef39961720ec1bf3353d81a0ab44af9
Releases: master, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted