Completed
Push — master ( 45f1dd...1bb174 )
by Peter
02:07
created

SesIdentity::__construct()   A

Complexity

Conditions 3
Paths 2

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 3

Importance

Changes 2
Bugs 1 Features 0
Metric Value
c 2
b 1
f 0
dl 0
loc 10
ccs 6
cts 6
cp 1
rs 9.4285
cc 3
eloc 5
nc 2
nop 1
crap 3
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 8
    public function getIdentity()
21
    {
22 8
        return $this->identity;
23
    }
24
}
25