Passed
Pull Request — main (#340)
by Chema
07:33 queued 03:19
created

ServiceMap   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gacela\Framework\DocBlockResolver;
6
7
use Attribute;
8
9
#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
10
final class ServiceMap
11
{
12
    /**
13
     * @param class-string $className
14
     */
15
    public function __construct(
16
        public readonly string $method,
17
        public readonly string $className,
18
    ) {
19
    }
20
}
21