Completed
Push — master ( 1c26be...19bb2d )
by Basil
05:42
created

ContactPointTrait::getTelephone()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace luya\web\jsonld;
4
5
trait ContactPointTrait
6
{
7
    use ThingTrait;
8
9
    private $_email;
10
    
11
    public function setEmail($email)
12
    {
13
        $this->_email = $email;
14
        
15
        return $this;
16
    }
17
    
18
    public function getEmail()
19
    {
20
        return $this->_email;
21
    }
22
    
23
    private $_telephone;
24
    
25
    public function setTelephone($telephone)
26
    {
27
        $this->_telephone = $telephone;
28
        
29
        return $this;
30
    }
31
    
32
    public function getTelephone()
33
    {
34
        return $this->_telephone;
35
    }
36
}