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

ParameterMetadata::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 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