SesIdentity   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 1 Features 0
Metric Value
wmc 1
c 3
b 1
f 0
lcom 0
cbo 0
dl 0
loc 17
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getIdentity() 0 4 1
1
<?php
2
3
namespace PeterNijssen\Ses\Model;
4
5
/**
6
 * Main SES identity
7
 */
8
abstract class SesIdentity
9
{
10
    /**
11
     * @var string
12
     */
13
    protected $identity;
14
15
    /**
16
     * Get the identity. If correct, this is either an email address or domain
17
     *
18
     * @return string
19
     */
20 15
    public function getIdentity()
21
    {
22 15
        return $this->identity;
23
    }
24
}
25