summaryrefslogtreecommitdiffstats
path: root/lib/private/EventDispatcher/EventDispatcher.php
Commit message (Collapse)AuthorAgeFilesLines
* Use PSR Logger in event dispatcherJoas Schilling2020-10-081-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Deprecate the internal Symfony dispatcher adapterChristoph Wurst2020-07-151-0/+1
| | | | | | | This type is not known on the public API, yet we should make sure that any usage of this class is noticed and migrated as soon as possible. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to remove listenersJoas Schilling2020-02-271-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-051-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make it possible to broadcast events to (web) clientsChristoph Wurst2019-10-281-0/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17106 from nextcloud/feature/dispatch-typed-eventblizzz2019-09-121-0/+5
|\ | | | | Add Symfony inspired typed event dispatcher method
| * Add Symfony inspired typed event dispatcher methodChristoph Wurst2019-09-111-0/+5
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the new Symfony event dispatcher signatureChristoph Wurst2019-09-101-2/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add event dispatcher to OCPChristoph Wurst2019-06-251-0/+85
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>