AbstractAnnotationAnalyzer::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 3
cts 3
cp 1
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php declare(strict_types=1);
0 ignored issues
show
Coding Style introduced by
End of line character is invalid; expected "\n" but found "\r\n"
Loading history...
2
/**
3
 * Created by Ruslan Molodyko.
4
 * Date: 10.09.2016
5
 * Time: 17:48
6
 */
7
namespace samsonframework\container\definition\analyzer\annotation;
8
9
use Doctrine\Common\Annotations\AnnotationReader;
10
11
/**
12
 * Class AbstractAnnotationAnalyzer
13
 *
14
 * @author Ruslan Molodyko <[email protected]>
15
 */
16
class AbstractAnnotationAnalyzer
17
{
18
    /** @var AnnotationReader */
19
    protected $reader;
20
21
    /**
22
     * AbstractAnnotationAnalyzer constructor.
23
     *
24
     * @param AnnotationReader $annotationReader
25
     */
26 2
    public function __construct(AnnotationReader $annotationReader)
27
    {
28 2
        $this->reader = $annotationReader;
29 2
    }
30
}
31