Test Failed
Pull Request — master (#870)
by Aleksei
06:40
created

Scope::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Spiral\Core\Attribute;
6
7
/**
8
 * Set a scope in which the dependency can be resolved.
9
 */
10
#[\Attribute(\Attribute::TARGET_CLASS)]
11
final class Scope
12
{
13
    public function __construct(
14
        public string $name,
15
    ) {
16
    }
17
}
18