TestProducer   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
eloc 3
c 1
b 0
f 1
dl 0
loc 12
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getExchangeName() 0 3 1
A getRoutingKey() 0 3 1
1
<?php declare(strict_types = 1);
2
3
namespace Portiny\RabbitMQ\Tests\Source;
4
5
use Portiny\RabbitMQ\Producer\AbstractProducer;
6
7
final class TestProducer extends AbstractProducer
8
{
9
10
	protected function getExchangeName(): string
11
	{
12
		return 'exchangeName';
13
	}
14
15
16
	protected function getRoutingKey(): string
17
	{
18
		return 'routingKey';
19
	}
20
21
}
22