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

TwigDebug::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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 TwigDebug implements NamedArgumentConstructorAnnotation
20
{
21
    /** @var string */
22
    public $value;
23
24
    public function __construct(string $value)
25
    {
26
        $this->value = $value;
27
    }
28
}
29