Completed
Push — master ( 04d25a...713d77 )
by Torben
85:31 queued 40:32
created

Organisator::initStorageObjects()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
namespace DERHANSEN\SfEventMgt\Domain\Model;
3
4
/*
5
 * This file is part of the TYPO3 CMS project.
6
 *
7
 * It is free software; you can redistribute it and/or modify it under
8
 * the terms of the GNU General Public License, either version 2
9
 * of the License, or any later version.
10
 *
11
 * For the full copyright and license information, please read the
12
 * LICENSE.txt file that was distributed with this source code.
13
 *
14
 * The TYPO3 project - inspiring people to share!
15
 */
16
17
/**
18
 * Organisator
19
 *
20
 * @author AlexPixelant
21
 */
22
class Organisator extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
23
{
24
25
    /**
26
     * Name of Organisator
27
     *
28
     * @var string
29
     */
30
    protected $name = '';
31
32
    /**
33
     * E-Mail of Organisator
34
     *
35
     * @var string
36
     */
37
    protected $email = '';
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 1
    public function getName()
59
    {
60 1
        return $this->name;
61
    }
62
63
    /**
64
     * Sets the name
65
     *
66
     * @param string $name The name
67
     *
68
     * @return void
69
     */
70 1
    public function setName($name)
71
    {
72 1
        $this->name = $name;
73 1
    }
74
75
    /**
76
     * Returns the e-mail
77
     *
78
     * @return string $email
79
     */
80 4
    public function getEmail()
81
    {
82 4
        return $this->email;
83
    }
84
85
    /**
86
     * Sets the email
87
     *
88
     * @param string $email The e-mail
89
     *
90
     * @return void
91
     */
92 1
    public function setEmail($email)
93
    {
94 1
        $this->email = $email;
95 1
    }
96
97
    /**
98
     * Returns the phone
99
     *
100
     * @return string $phone
101
     */
102 1
    public function getPhone()
103
    {
104 1
        return $this->phone;
105
    }
106
107
    /**
108
     * Sets the phone
109
     *
110
     * @param string $phone The phone
111
     *
112
     * @return void
113
     */
114 1
    public function setPhone($phone)
115
    {
116 1
        $this->phone = $phone;
117 1
    }
118
119
    /**
120
     * Returns the image
121
     *
122 14
     * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference $image
123
     */
124 14
    public function getImage()
125 14
    {
126
        return $this->image;
127
    }
128
129
    /**
130
     * Sets the image
131
     *
132
     * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $image The image
133
     *
134
     * @return void
135 14
     */
136
    public function setImage(\TYPO3\CMS\Extbase\Domain\Model\FileReference $image)
137 14
    {
138 14
        $this->image = $image;
139
    }
140
}