Skip to content

Commit 1827c53

Browse files
n3vraxn3vrax
authored andcommitted
added the controller as dispatch event parameter
1 parent 60533ba commit 1827c53

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 0.2.2 - unreleased
2+
3+
### Changed
4+
* added the controller as dispatch event parameter
5+
6+
### Added
7+
* Nothing
8+
9+
### Deprecated
10+
* Nothing
11+
12+
### Removed
13+
* Nothing
14+
15+
### Fixed
16+
* Nothing
17+
18+
119
## 0.2.1 - 2017-03-18
220

321
### Changed

src/AbstractActionController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function dispatch(): ResponseInterface
3434
$r = $this->dispatchEvent(ControllerEvent::EVENT_CONTROLLER_DISPATCH, [
3535
'request' => $this->request,
3636
'delegate' => $this->getDelegate(),
37+
'controller' => $this,
3738
'method' => $action
3839
]);
3940
if ($r instanceof ResponseInterface) {

0 commit comments

Comments
 (0)