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

Commit 4727778

Browse files
committed
Merge branch 'hotfix/deprecate-callback-handler' into develop
Forward port #35
2 parents aeb109f + 7a9f9b1 commit 4727778

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ All notable changes to this project will be documented in this file, in reverse
2828

2929
### Deprecated
3030

31-
- Nothing.
31+
- [#35](https://github.com/zendframework/zend-stdlib/pull/35) deprecates
32+
`Zend\Stdlib\CallbackHandler`, as the one component that used it,
33+
zend-eventmanager, will no longer depend on it starting in v3.
3234

3335
### Removed
3436

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)