TYPO3 Forger
  • Dashboard
  • Activity
    Stream Statistics
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #94345
Issue Feature Closed

#94345Auto-derive event listener targets

Larry Garfield 06/14/21, 21:08 updated 07/18/21, 15:47

Open in Forge Comment in Forge

Description

Event listener methods typically specify the event type they listen to in the method signature. That means there’s no need to specify it explicitly in the Services.yaml file, as it can be derived via reflection.

Reviews 3

  • 12.4 79821[BUGFIX] Support union types for event listeners Related to this issue Merged Oli Bartsch CR +2 V +2 → main Normal +40 −20 07/06/23, 14:30
  • main 79801[BUGFIX] Support union types for event listeners Related to this issue Merged Oli Bartsch CR +2 V +2 → 12.4 Normal +40 −20 07/06/23, 13:57
  • main 69495[FEATURE] Auto-detect event types on listener services Resolves this issue Merged crell CR +2 V +2 di Normal +155 −53 06/17/21, 19:25

Related issues 1

  • Bug #101264Union type is not fully supported for event listeners Related to Closed Backend API v12 Oliver Bartsch 07/06/23, 12:52
Author
Larry Garfield
Priority
Should have
Category
Miscellaneous
Target version
11.3
Complexity
easy
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback