Пример #1
0
 public function __construct($name, $host, $port, $channel)
 {
     parent::__construct($name);
     $this->host = $host;
     $this->port = $port;
     $this->channel = $channel;
 }
Пример #2
0
 public function __construct($name, JobServiceInterface $job_service, $exchange)
 {
     Assertion::string($exchange);
     parent::__construct($name);
     $this->job_service = $job_service;
     $this->exchange = $exchange;
 }
Пример #3
0
 public function __construct($name, EventBusInterface $event_bus)
 {
     parent::__construct($name);
     $this->event_bus = $event_bus;
 }