Completed
Push — master ( 019907...013ee6 )
by Vitaly
03:05
created

AbstractAnnotationResolver::__construct()   A

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 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 * Created by Vitaly Iegorov <[email protected]>.
4
 * on 07.08.16 at 13:30
5
 */
6
namespace samsonframework\container\annotation;
7
8
use Doctrine\Common\Annotations\Reader;
9
10
/**
11
 * Abstract annotation resolver.
12
 * @author Vitaly Iegorov <[email protected]>
13
 */
14
abstract class AbstractAnnotationResolver
15
{
16
    /** @var Reader */
17
    protected $reader;
18
19
    /**
20
     * AnnotationPropertyResolver constructor.
21
     *
22
     * @param Reader        $reader
23
     */
24 13
    public function __construct(Reader $reader)
25
    {
26 13
        $this->reader = $reader;
27 13
    }
28
}
29