Completed
Push — standalone ( e35bae...444422 )
by Philip
23:36
created

Method

Complexity

Total Complexity 0

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 50%

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 0
dl 0
loc 24
ccs 6
cts 12
cp 0.5
c 0
b 0
f 0
1
<?php
2
3
namespace Dontdrinkandroot\RestBundle\Metadata\Annotation;
4
5
use Doctrine\Common\Annotations\Annotation\Required;
6
7
/**
8
 * @author Philip Washington Sorst <[email protected]>
9
 *
10
 * @Annotation
11
 * @Target({"ANNOTATION"})
12
 */
13
class Method
14
{
15
    const LIST = 'LIST';
16
    const POST = 'POST';
17
    const GET = 'GET';
18
    const PUT = 'PUT';
19
    const DELETE = 'DELETE';
20 18
21
    /**
22
     * @Required()
23 18
     * @var string
24 16
     */
25 4
    public $name;
26
27 4
    /**
28 4
     * @var \Dontdrinkandroot\RestBundle\Metadata\Annotation\Right
29
     */
30
    public $right;
31
32
    /**
33
     * @var array<string>
34
     */
35
    public $defaultIncludes;
36
}
37