SecondMessage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A messageName() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace TomCizek\AsynchronousRouter\Tests\DependencyInjection\Fixture\Model;
6
7
use Prooph\Common\Messaging\Command;
8
use Prooph\Common\Messaging\PayloadConstructable;
9
use Prooph\Common\Messaging\PayloadTrait;
10
11
final class SecondMessage extends Command implements PayloadConstructable
12
{
13
    use PayloadTrait;
14
15
    private const NAME = 'App\Namespace\SecondMessage';
16
17
    public function messageName(): string
18
    {
19
        return self::NAME;
20
    }
21
}
22