Completed
Push — master ( fa3c04...692093 )
by Vitaly
02:57
created

Injectable::toPropertyMetadata()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 1
nc 1
nop 1
crap 2
1
<?php declare(strict_types = 1);
2
/**
3
 * Created by Vitaly Iegorov <[email protected]>.
4
 * on 14.08.16 at 20:33
5
 */
6
namespace samsonframework\container\annotation;
7
8
use samsonframework\container\metadata\PropertyMetadata;
9
10
/**
11
 * Property injection annotation class for marking
12
 * properties that need injection without type specification.
13
 *
14
 * @Annotation
15
 */
16
class Injectable implements PropertyInterface
17
{
18
    /**
19
     * Convert to class property metadata.
20
     *
21
     * @param PropertyMetadata $propertyMetadata Input metadata
22
     *
23
     * @return PropertyMetadata Annotation conversion to metadata
24
     */
25
    public function toPropertyMetadata(PropertyMetadata $propertyMetadata)
26
    {
27
        // Checks?
28
    }
29
}
30