File tree 8 files changed +8
-8
lines changed
8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 13
13
use Rezzza \CommandBus ;
14
14
15
15
$ logger = new Logger ();
16
- $ eventDispatcher = new Symfony \Component \EventDispatcher \EventDispatcher ();
16
+ $ eventDispatcher = new Symfony \Contracts \EventDispatcher \EventDispatcher ();
17
17
18
18
// redis bus
19
19
$ redis = new \Redis ();
Original file line number Diff line number Diff line change 6
6
use Rezzza \CommandBus \Domain \CommandBusInterface ;
7
7
use Rezzza \CommandBus \Domain \Event ;
8
8
use Rezzza \CommandBus \Domain \Exception \CommandHandlerFailedException ;
9
- use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
9
+ use Symfony \Contracts \EventDispatcher \EventDispatcherInterface ;
10
10
11
11
class Consumer
12
12
{
Original file line number Diff line number Diff line change 3
3
namespace Rezzza \CommandBus \Domain ;
4
4
5
5
use Symfony \Component \DependencyInjection \ContainerInterface ;
6
- use Symfony \Component \EventDispatcher \EventDispatcher ;
6
+ use Symfony \Contracts \EventDispatcher \EventDispatcher ;
7
7
8
8
class ContainerAwareEventDispatcherBus extends EventDispatcher
9
9
{
Original file line number Diff line number Diff line change 3
3
namespace Rezzza \CommandBus \Domain \Event ;
4
4
5
5
use Rezzza \CommandBus \Domain \Consumer \Response ;
6
- use Symfony \Component \EventDispatcher \Event ;
6
+ use Symfony \Contracts \EventDispatcher \Event ;
7
7
8
8
/**
9
9
* OnConsumerResponseEvent
Original file line number Diff line number Diff line change 3
3
namespace Rezzza \CommandBus \Domain \Event ;
4
4
5
5
use Rezzza \CommandBus \Domain \Consumer \Response ;
6
- use Symfony \Component \EventDispatcher \Event ;
6
+ use Symfony \Contracts \EventDispatcher \Event ;
7
7
8
8
/**
9
9
* OnDirectResponseEvent
Original file line number Diff line number Diff line change 3
3
namespace Rezzza \CommandBus \Domain \Event ;
4
4
5
5
use Rezzza \CommandBus \Domain \CommandInterface ;
6
- use Symfony \Component \EventDispatcher \Event ;
6
+ use Symfony \Contracts \EventDispatcher \Event ;
7
7
8
8
/**
9
9
* PreHandleCommandEvent
Original file line number Diff line number Diff line change 4
4
5
5
use Rezzza \CommandBus \Domain \Consumer \Response ;
6
6
use Rezzza \CommandBus \Domain \Event ;
7
- use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
7
+ use Symfony \Contracts \EventDispatcher \EventDispatcherInterface ;
8
8
9
9
class EventDispatcherBus implements CommandBusInterface
10
10
{
Original file line number Diff line number Diff line change 7
7
use Rezzza \CommandBus \Domain \Handler \CommandHandlerLocatorInterface ;
8
8
use Rezzza \CommandBus \Domain \Handler \HandlerDefinition ;
9
9
use Rezzza \CommandBus \Domain \Handler \HandlerMethodResolverInterface ;
10
- use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
10
+ use Symfony \Contracts \EventDispatcher \EventDispatcherInterface ;
11
11
12
12
class DirectBus implements CommandBusInterface
13
13
{
You can’t perform that action at this time.
0 commit comments