Skip to content

Commit 0600ec8

Browse files
committed
Event 1.0.4
1 parent dda6885 commit 0600ec8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,10 @@ Dispatch all listeners of the given event.
3939
Event::dispatch('event_name');
4040
```
4141

42+
Get listeners array
43+
```php
44+
$listeners = Event::getListeners();
45+
```
46+
4247
## License
4348
See [LICENSE](https://github.com/flextype-components/event/blob/master/LICENSE)

0 commit comments

Comments
 (0)