Feature #36714

Use lifecycle annotations without HasLifecycleCallbacks

Added by Karsten Dambekalns over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Persistence
Start date:
2012-04-30
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

When using lifecycle annotations on methods, there should be no need to annotate the class itself with HasLifecycleCallbacks. It is probably intended to avoid parsing docblocks of all methods, but we do this anyway (and it's cached afterwards), so having to annotate the class and the method is just overhead.

Also available in: Atom PDF