PropertyKeys   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 39
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * AppserverIo\Messaging\Utils\PropertyKeys
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 2015 TechDivision GmbH <[email protected]>
16
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
 * @link      https://github.com/appserver-io/messaging
18
 * @link      http://www.appserver.io
19
 */
20
21
namespace AppserverIo\Messaging\Utils;
22
23
/**
24
 * This class holds the property keys used to create the host connection.
25
 *
26
 * @author    Tim Wagner <[email protected]>
27
 * @copyright 2015 TechDivision GmbH <[email protected]>
28
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29
 * @link      https://github.com/appserver-io/messaging
30
 * @link      http://www.appserver.io
31
 */
32
class PropertyKeys
33
{
34
35
    /**
36
     * The property name with the host address.
37
     *
38
     * @var string
39
     */
40
    const ADDRESS = 'address';
41
42
    /**
43
     * The property name with the host port.
44
     *
45
     * @var string
46
     */
47
    const PORT = 'port';
48
49
    /**
50
     * The property name with the transport to use.
51
     *
52
     * @var string
53
     */
54
    const TRANSPORT = 'transport';
55
56
    /**
57
     * The property name with the index file to use.
58
     *
59
     * @var string
60
     */
61
    const INDEX_FILE = 'indexFile';
62
63
    /**
64
     * Private constructor for marking the class as utility.
65
     */
66
    final protected function __construct()
67
    {
68
        /* Class is a utility class */
69
    }
70
}
71