Exemplo n.º 1
0
 public function __construct($name, $exchange, JobServiceInterface $job_service, CommandBusInterface $command_bus, $queue_name = null)
 {
     parent::__construct($name);
     $this->exchange = $exchange;
     $this->job_service = $job_service;
     $this->command_bus = $command_bus;
     $this->queue_name = $queue_name;
 }
Exemplo n.º 2
0
 public function __construct($name, CommandBusInterface $command_bus)
 {
     parent::__construct($name);
     $this->command_bus = $command_bus;
 }