Completed
Push — master ( dd23a3...589bb6 )
by Nick
05:48 queued 02:41
created

CapturesBase   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getTouchIdentifier() 0 4 1
A getIdentity() 0 4 1
A getIdentitySource() 0 4 1
1
<?php
2
3
namespace Acquia\LiftClient\Entity;
4
5
abstract class CapturesBase extends Entity
6
{
7
    /**
8
     * Gets the 'touch_identifier' parameter.
9
     *
10
     * @return string
11
     */
12
    public function getTouchIdentifier()
13
    {
14
        return $this->getEntityValue('touch_identifier', '');
15
    }
16
17
    /**
18
     * Gets the 'identifier' parameter.
19
     *
20
     * @return string
21
     */
22
    public function getIdentity()
23
    {
24
        return $this->getEntityValue('identity', '');
25
    }
26
27
    /**
28
     * Gets the 'identity_source' parameter.
29
     *
30
     * @return string
31
     */
32
    public function getIdentitySource()
33
    {
34
        return $this->getEntityValue('identity_source', '');
35
    }
36
}
37