Completed
Push — master ( 92472c...fe56a0 )
by Vitaly
02:18
created

PropertyMetadata   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 27
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: root
5
 * Date: 29.07.2016
6
 * Time: 22:22.
7
 */
8
namespace samsonframework\container\metadata;
9
10
/**
11
 * Class property metadata.
12
 */
13
class PropertyMetadata
14
{
15
    /** @var string Property name */
16
    public $name;
17
18
    /** @var int Property modifiers */
19
    public $modifiers;
20
21
    /** @var string Property typeHint from typeHint hint */
22
    public $typeHint;
23
24
    /** @var string Property real typeHint */
25
    public $injectable;
26
27
    /** @var ClassMetadata */
28
    public $classMetadata;
29
30
    /**
31
     * PropertyMetadata constructor.
32
     *
33
     * @param ClassMetadata $classMetadata
34
     */
35 4
    public function __construct(ClassMetadata $classMetadata)
36
    {
37 4
        $this->classMetadata = $classMetadata;
38 4
    }
39
}
40