Completed
Push — master ( 71735f...6f1a19 )
by Vitaly
02:23
created

ParameterMetadata   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 21
wmc 1
lcom 0
cbo 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
 * Method parameter metadata.
12
 */
13
class ParameterMetadata extends AbstractMetadata
14
{
15
    /** @var MethodMetadata */
16
    public $methodMetadata;
17
18
    /** @var int Property modifiers */
19
    public $modifiers;
20
21
    /** @var string Property type */
22
    public $type;
23
24
    /**
25
     * ParameterMetadata constructor.
26
     *
27
     * @param MethodMetadata $methodMetadata
28
     */
29
    public function __construct(MethodMetadata $methodMetadata)
30
    {
31
        $this->methodMetadata = $methodMetadata;
32
    }
33
}
34