Completed
Push — master ( 6ba652...6f597b )
by Vitaly
02:20
created

AbstractAnnotationResolver   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 20
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * Created by Vitaly Iegorov <[email protected]>.
4
 * on 07.08.16 at 13:30
5
 */
6
namespace samsonframework\container\resolver;
7
8
use Doctrine\Common\Annotations\Reader;
9
use samsonframework\container\metadata\ClassMetadata;
10
11
abstract class AbstractAnnotationResolver
12
{
13
    /** @var Reader */
14
    protected $reader;
15
16
    /** @var ClassMetadata */
17
    protected $classMetadata;
18
19
    /**
20
     * AnnotationPropertyResolver constructor.
21
     *
22
     * @param Reader        $reader
23
     * @param ClassMetadata $classMetadata
24
     */
25
    public function __construct(Reader $reader, ClassMetadata $classMetadata)
26
    {
27
        $this->reader = $reader;
28
        $this->classMetadata = $classMetadata;
29
    }
30
}
31