| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Bootstrapper implements BootstrapperInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var \Xervice\RabbitMQ\Business\Model\Exchange\ExchangeBuilderInterface |
||
| 14 | */ |
||
| 15 | private $exchangeBuilder; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \Xervice\RabbitMQ\Business\Model\Queue\QueueBuilderInterface |
||
| 19 | */ |
||
| 20 | private $queueBuilder; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Bootstrapper constructor. |
||
| 24 | * |
||
| 25 | * @param \Xervice\RabbitMQ\Business\Model\Exchange\ExchangeBuilderInterface $exchangeBuilder |
||
| 26 | * @param \Xervice\RabbitMQ\Business\Model\Queue\QueueBuilderInterface $queueBuilder |
||
| 27 | */ |
||
| 28 | 2 | public function __construct( |
|
| 29 | ExchangeBuilderInterface $exchangeBuilder, |
||
| 30 | QueueBuilderInterface $queueBuilder |
||
| 31 | ) { |
||
| 32 | 2 | $this->exchangeBuilder = $exchangeBuilder; |
|
| 33 | 2 | $this->queueBuilder = $queueBuilder; |
|
| 34 | 2 | } |
|
| 35 | |||
| 36 | 2 | public function boot(): void |
|
| 40 | 2 | } |
|
| 41 | |||
| 42 | } |