Completed
Push — master ( 6ba652...6f597b )
by Vitaly
02:20
created

Route::toClassMetadata()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Vitaly Iegorov
5
 * Date: 07.08.2016
6
 * Time: 11:55.
7
 */
8
namespace samsonframework\container\annotation;
9
10
use samsonframework\container\metadata\ClassMetadata;
11
use samsonframework\container\metadata\MethodMetadata;
12
13
/**
14
 * Class Route.
15
 *
16
 * @Annotation
17
 */
18
class Route extends CollectionValue implements ClassInterface, MethodInterface
19
{
20
    /** @var string Route path */
21
    protected $path;
22
23
    /** @var string Route identifier */
24
    protected $identifier;
25
26
    /**
27
     * Route constructor.
28
     *
29
     * @param $path
30
     *
31
     * @throws \InvalidArgumentException
32
     */
33
    public function __construct($scopeOrScopes)
34
    {
35
        parent::__construct($scopeOrScopes);
36
    }
37
38
    /**
39
     * {@inheritDoc}
40
     */
41
    public function toMethodMetadata(MethodMetadata $metadata)
42
    {
43
        // TODO: Implement toMetadata() method.
44
    }
45
46
    /**
47
     * {@inheritDoc}
48
     */
49
    public function toClassMetadata(ClassMetadata $metadata)
50
    {
51
        // TODO: Implement toClassMetadata() method.
52
    }
53
}
54