Completed
Pull Request — master (#57)
by Tim
19:01
created

Put   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 21
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __getClass() 0 4 1
1
<?php
2
3
/**
4
 * AppserverIo\Routlt\Annotations\Put
5
 *
6
 * NOTICE OF LICENSE
7
 *
8
 * This source file is subject to the Open Software License (OSL 3.0)
9
 * that is available through the world-wide-web at this URL:
10
 * http://opensource.org/licenses/osl-3.0.php
11
 *
12
 * PHP version 5
13
 *
14
 * @author     Tim Wagner <[email protected]>
15
 * @copyright  2018 TechDivision GmbH <[email protected]>
16
 * @license    http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
 * @link       http://github.com/appserver-io/routlt
18
 * @link       http://www.appserver.io
19
 */
20
21
namespace AppserverIo\Routlt\Annotations;
22
23
use AppserverIo\Lang\Reflection\ReflectionAnnotation;
24
25
/**
26
 * Annotation for the PUT request method.
27
 *
28
 * @author     Tim Wagner <[email protected]>
29
 * @copyright  2018 TechDivision GmbH <[email protected]>
30
 * @license    http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
31
 * @link       http://github.com/appserver-io/routlt
32
 * @link       http://www.appserver.io
33
 */
34
class Put extends ReflectionAnnotation
35
{
36
37
    /**
38
     * The annotation to define request method.
39
     *
40
     * @var string
41
     */
42
    const ANNOTATION = 'Put';
43
44
    /**
45
     * This method returns the class name as
46
     * a string.
47
     *
48
     * @return string
49
     */
50
    public static function __getClass()
51
    {
52
        return __CLASS__;
53
    }
54
}
55