Database::password()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Acquia\Cloud\Api\Response;
4
5
class Database extends \Acquia\Rest\Element
6
{
7
    /**
8
     * @return string
9
     */
10 3
    public function name()
11
    {
12 3
        return $this['name'];
13
    }
14
15
    /**
16
     * @return string
17
     */
18 3
    public function username()
19
    {
20 3
        return $this['username'];
21
    }
22
23
    /**
24
     * @return string
25
     */
26 3
    public function instanceName()
27
    {
28 3
        return $this['instance_name'];
29
    }
30
31
    /**
32
     * @return string
33
     */
34 3
    public function password()
35
    {
36 3
        return $this['password'];
37
    }
38
39
    /**
40
     * @return string
41
     */
42 3
    public function dbCluster()
43
    {
44 3
        return $this['db_cluster'];
45
    }
46
47
    /**
48
     * @return string
49
     */
50 3
    public function host()
51
    {
52 3
        return $this['host'];
53
    }
54
}
55