ContextKeys   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 30
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A __clone() 0 3 1
1
<?php
2
3
/**
4
 * AppserverIo\Routlt\Util\ContextKeys
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 2014 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\Util;
22
23
/**
24
 * Utility class with default context keys.
25
 *
26
 * @author    Tim Wagner <[email protected]>
27
 * @copyright 2014 TechDivision GmbH <[email protected]>
28
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29
 * @link      http://github.com/appserver-io/routlt
30
 * @link      http://www.appserver.io
31
 */
32
class ContextKeys
33
{
34
35
    /**
36
     * This is a utility class, so protect it against direct
37
     * instantiation.
38
     *
39
     * @codeCoverageIgnore
40
     */
41
    private function __construct()
42
    {
43
    }
44
45
    /**
46
     * This is a utility class, so protect it against cloning.
47
     *
48
     * @return void
49
     * @codeCoverageIgnore
50
     */
51
    private function __clone()
52
    {
53
    }
54
55
    /**
56
     * The context key for the requested method name.
57
     *
58
     * @var string
59
     */
60
    const METHOD_NAME = 'appserver-io.routlt.util.context-keys.method-name';
61
}
62