Completed
Push — switch_ci ( a9a9a1...97491a )
by Akihito
03:13
created

Read   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\AuraSqlModule\Annotation;
6
7
use Attribute;
8
use Ray\Di\Di\Qualifier;
9
10
/**
11
 * @Annotation
12
 * @Target("METHOD")
13
 * @Qualifier
14
 */
15
#[Attribute(Attribute::TARGET_METHOD), Qualifier]
16
final class Read
17
{
18
    /** @var string */
19
    public $value;
20
21
    public function __construct(string $value)
22
    {
23
        $this->value = $value;
24
    }
25
}
26