Feature #36714
Use lifecycle annotations without HasLifecycleCallbacks
Status: | Resolved | Start date: | 2012-04-30 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Persistence | |||
Target version: | TYPO3 Flow Base Distribution - 1.1 | |||
PHP Version: | Complexity: | |||
Has patch: | No |
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.
Associated revisions
[FEATURE] Use lifecycle annotations without HasLifecycleCallbacks
When using lifecycle annotations on methods, this change removes the need
to annotate the class itself with HasLifecycleCallbacks.
Change-Id: If1138f7d18fb6031b0820a63c64b6be58ccbfa2b
Resolves: #36714
Releases: 1.1
History
#1 Updated by Gerrit Code Review over 3 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10884
#2 Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10884
#3 Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10884
#4 Updated by Karsten Dambekalns over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 955b786a937127f9c39cbb6506d9d7ad2119a7c1.