Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DefaultValueProvider.php
Go to the documentation of this file.
1 <?php
7 
12 {
18  private $connection;
19 
25  private $exchange;
26 
33  public function __construct($connection = 'amqp', $exchange = 'magento')
34  {
35  $this->connection = $connection;
36  $this->exchange = $exchange;
37  }
38 
44  public function getConnection()
45  {
46  return $this->connection;
47  }
48 
54  public function getExchange()
55  {
56  return $this->exchange;
57  }
58 }
__construct($connection='amqp', $exchange='magento')