Completed
Push — master ( 1b016a...f598f3 )
by Beñat
59s
created

NameResolver   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A map() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the Kreta package.
5
 *
6
 * (c) Beñat Espiña <[email protected]>
7
 * (c) Gorka Laucirica <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
declare(strict_types=1);
14
15
namespace Kreta\IdentityAccess\Infrastructure\Serialization;
16
17
use BenGorUser\User\Domain\Model\Event\UserRegistered;
18
use Kreta\SharedKernel\Serialization\NameResolver as BaseNameResolver;
19
20
class NameResolver extends BaseNameResolver
21
{
22
    protected function map() : array
23
    {
24
        return [
25
            UserRegistered::class => 'kreta_identity_access.user_registered',
26
        ];
27
    }
28
}
29