PropertyMetadata   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 33
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php declare(strict_types = 1);
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 = 0;
20
21
    /** @var bool Flag that property is public */
22
    public $isPublic = false;
23
24
    /** @var string Property typeHint from typeHint hint */
25
    public $typeHint = '';
26
27
    /** @var string Property real typeHint */
28
    public $dependency = '';
29
30
    /** @var string Property value */
31
    public $value;
32
33
    /** @var ClassMetadata */
34
    public $classMetadata;
35
36
    /**
37
     * PropertyMetadata constructor.
38
     *
39
     * @param ClassMetadata $classMetadata
40
     */
41
    public function __construct(ClassMetadata $classMetadata)
42
    {
43
        $this->classMetadata = $classMetadata;
44
    }
45
}
46