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

Commit 52b45fd

Browse files
committed
Merge branch 'hotfix/deprecate-callback-handler'
Close #35
2 parents 6b2ef29 + 7a9f9b1 commit 52b45fd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ All notable changes to this project will be documented in this file, in reverse
1010

1111
### Deprecated
1212

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

1517
### Removed
1618

src/CallbackHandler.php

+5
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)