Passed
Push — main ( dae7cc...12f243 )
by Breno
01:47
created

AttributesMapper::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
declare(strict_types=1);
3
4
namespace OniBus\Handler\ClassMethod\Mapper;
5
6
use OniBus\Handler\Attributes\AttributesMapperInterface;
7
use OniBus\Handler\ClassMethod\ClassMethodMapper;
8
9
class AttributesMapper extends DirectMapper implements ClassMethodMapper
10
{
11
    public function __construct(AttributesMapperInterface $attributesMapper)
12
    {
13
        parent::__construct(...$attributesMapper->mapHandlers());
14
    }
15
}
16