AsynchronousEventProducerConfigurator   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getProducerFactoryClass() 0 4 1
A getConfigKey() 0 4 1
1
<?php declare(strict_types = 1);
2
3
namespace TomCizek\SymfonyProoph\AsynchronousMessages\Configurators;
4
5
use TomCizek\SymfonyProoph\AsynchronousMessages\Factories\AsynchronousEventProducerFactory;
6
7
class AsynchronousEventProducerConfigurator extends AbstractAsynchronousProducerConfigurator
8
{
9 3
	public function getProducerFactoryClass(): string
10
	{
11 3
		return AsynchronousEventProducerFactory::class;
12
	}
13
14 18
	public function getConfigKey(): string
15
	{
16 18
		return AsynchronousEventProducerFactory::SECTION_CONFIG_ID;
17
	}
18
}
19