Completed
Push — 2.x ( 71400b...8822b3 )
by Akihito
34:48 queued 24:48
created

TwigOptions   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
 * This file is part of the Madapaja.TwigModule package.
4
 *
5
 * @license http://opensource.org/licenses/MIT MIT
6
 */
7
namespace Madapaja\TwigModule\Annotation;
8
9
use Attribute;
10
use Doctrine\Common\Annotations\NamedArgumentConstructorAnnotation;
11
use Ray\Di\Di\Qualifier;
12
13
/**
14
 * @Annotation
15
 * @Target("METHOD")
16
 * @Qualifier
17
 */
18
#[Attribute(Attribute::TARGET_METHOD), Qualifier]
19
final class TwigOptions implements NamedArgumentConstructorAnnotation
20
{
21
    /** @var string */
22
    public $value;
23
24
    public function __construct(string $value)
25
    {
26
        $this->value = $value;
27
    }
28
}
29