Completed
Push — master ( 582c54...9e2bdc )
by Torben
07:45 queued 04:37
created

Organisator::getEmailSignature()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 1
cts 1
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
namespace DERHANSEN\SfEventMgt\Domain\Model;
3
4
/*
5
 * This file is part of the Extension "sf_event_mgt" for TYPO3 CMS.
6
 *
7
 * For the full copyright and license information, please read the
8
 * LICENSE.txt file that was distributed with this source code.
9
 */
10
11
/**
12
 * Organisator
13
 *
14
 * @author AlexPixelant
15
 */
16
class Organisator extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
17
{
18
    /**
19
     * Name of Organisator
20
     *
21
     * @var string
22
     */
23
    protected $name = '';
24
25
    /**
26
     * E-Mail of Organisator
27
     *
28
     * @var string
29
     */
30
    protected $email = '';
31
32
    /**
33
     * E-Mail signature of Organisator
34
     *
35
     * @var string
36
     */
37
    protected $emailSignature = '';
38
39
    /**
40
     * Phone number of Organisator
41
     *
42
     * @var string
43
     */
44
    protected $phone = '';
45
46
    /**
47
     * Image of Organisator
48
     *
49
     * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
50
     */
51
    protected $image = null;
52
53
    /**
54
     * Returns the name
55
     *
56
     * @return string $name
57
     */
58 2
    public function getName()
59
    {
60 2
        return $this->name;
61
    }
62
63
    /**
64
     * Sets the name
65
     *
66
     * @param string $name The name
67
     *
68
     * @return void
69
     */
70 2
    public function setName($name)
71
    {
72 2
        $this->name = $name;
73 2
    }
74
75
    /**
76
     * Returns the e-mail
77
     *
78
     * @return string $email
79
     */
80 12
    public function getEmail()
81
    {
82 12
        return $this->email;
83
    }
84
85
    /**
86
     * Sets the email
87
     *
88
     * @param string $email The e-mail
89
     *
90
     * @return void
91
     */
92 2
    public function setEmail($email)
93
    {
94 2
        $this->email = $email;
95 2
    }
96
97
    /**
98
     * @return string
99
     */
100
    public function getEmailSignature(): string
101
    {
102 2
        return $this->emailSignature;
103
    }
104 2
105
    /**
106
     * @param string $emailSignature
107
     */
108
    public function setEmailSignature(string $emailSignature)
109
    {
110
        $this->emailSignature = $emailSignature;
111
    }
112
113
    /**
114 2
     * Returns the phone
115
     *
116 2
     * @return string $phone
117 2
     */
118
    public function getPhone()
119
    {
120
        return $this->phone;
121
    }
122
123
    /**
124 2
     * Sets the phone
125
     *
126 2
     * @param string $phone The phone
127
     *
128
     * @return void
129
     */
130
    public function setPhone($phone)
131
    {
132
        $this->phone = $phone;
133
    }
134
135
    /**
136 2
     * Returns the image
137
     *
138 2
     * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference $image
139 2
     */
140
    public function getImage()
141
    {
142
        return $this->image;
143
    }
144
145
    /**
146
     * Sets the image
147
     *
148
     * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $image The image
149
     *
150
     * @return void
151
     */
152
    public function setImage(\TYPO3\CMS\Extbase\Domain\Model\FileReference $image)
153
    {
154
        $this->image = $image;
155
    }
156
}
157