Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
16 * | 16 * |
17 * @author Bernhard Schussek <bschussek@gmail.com> | 17 * @author Bernhard Schussek <bschussek@gmail.com> |
18 */ | 18 */ |
19 class ImmutableEventDispatcher implements EventDispatcherInterface | 19 class ImmutableEventDispatcher implements EventDispatcherInterface |
20 { | 20 { |
21 /** | |
22 * The proxied dispatcher. | |
23 * | |
24 * @var EventDispatcherInterface | |
25 */ | |
26 private $dispatcher; | 21 private $dispatcher; |
27 | 22 |
28 /** | |
29 * Creates an unmodifiable proxy for an event dispatcher. | |
30 * | |
31 * @param EventDispatcherInterface $dispatcher The proxied event dispatcher | |
32 */ | |
33 public function __construct(EventDispatcherInterface $dispatcher) | 23 public function __construct(EventDispatcherInterface $dispatcher) |
34 { | 24 { |
35 $this->dispatcher = $dispatcher; | 25 $this->dispatcher = $dispatcher; |
36 } | 26 } |
37 | 27 |