File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ CHANGELOG
13
13
* added GenericEvent event class
14
14
* added the possibility for subscribers to subscribe several times for the
15
15
same event
16
- * added UnmodifiableEventDispatcher
16
+ * added ImmutableEventDispatcher
Original file line number Diff line number Diff line change 16
16
*
17
17
* @author Bernhard Schussek <bschussek@gmail.com>
18
18
*/
19
- class UnmodifiableEventDispatcher implements EventDispatcherInterface
19
+ class ImmutableEventDispatcher implements EventDispatcherInterface
20
20
{
21
21
/**
22
22
* The proxied dispatcher.
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \EventDispatcher \Tests ;
13
13
14
14
use Symfony \Component \EventDispatcher \Event ;
15
- use Symfony \Component \EventDispatcher \UnmodifiableEventDispatcher ;
15
+ use Symfony \Component \EventDispatcher \ImmutableEventDispatcher ;
16
16
use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
17
17
18
18
/**
19
19
* @author Bernhard Schussek <bschussek@gmail.com>
20
20
*/
21
- class UnmodifiableEventDispatcherTest extends \PHPUnit_Framework_TestCase
21
+ class ImmutableEventDispatcherTest extends \PHPUnit_Framework_TestCase
22
22
{
23
23
/**
24
24
* @var \PHPUnit_Framework_MockObject_MockObject
25
25
*/
26
26
private $ innerDispatcher ;
27
27
28
28
/**
29
- * @var UnmodifiableEventDispatcher
29
+ * @var ImmutableEventDispatcher
30
30
*/
31
31
private $ dispatcher ;
32
32
33
33
protected function setUp ()
34
34
{
35
35
$ this ->innerDispatcher = $ this ->getMock ('Symfony\Component\EventDispatcher\EventDispatcherInterface ' );
36
- $ this ->dispatcher = new UnmodifiableEventDispatcher ($ this ->innerDispatcher );
36
+ $ this ->dispatcher = new ImmutableEventDispatcher ($ this ->innerDispatcher );
37
37
}
38
38
39
39
public function testDispatchDelegates ()
You can’t perform that action at this time.
0 commit comments