Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 32dbea7

Browse files
committed
Mark CallbackHandler as deprecated
- Deprecating starting with 2.7.4, as zend-eventmanager no longer requires it with v3.
1 parent 6b2ef29 commit 32dbea7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/CallbackHandler.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
* A handler for an event, event, filterchain, etc. Abstracts PHP callbacks,
1818
* primarily to allow for lazy-loading and ensuring availability of default
1919
* arguments (currying).
20+
*
21+
* This was primarily used in zend-eventmanager for managing listeners; as that
22+
* component removes its usage of this class for v3, it is deprecated.
23+
*
24+
* @deprecated as of v2.7.4.
2025
*/
2126
class CallbackHandler
2227
{

0 commit comments

Comments
 (0)