Organisator::setEmail()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Extension "sf_event_mgt" for TYPO3 CMS.
7
 *
8
 * For the full copyright and license information, please read the
9
 * LICENSE.txt file that was distributed with this source code.
10
 */
11
12
namespace DERHANSEN\SfEventMgt\Domain\Model;
13
14
use TYPO3\CMS\Extbase\Domain\Model\FileReference;
0 ignored issues
show
Bug introduced by
The type TYPO3\CMS\Extbase\Domain\Model\FileReference was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
0 ignored issues
show
Bug introduced by
The type TYPO3\CMS\Extbase\DomainObject\AbstractEntity was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
16
17
class Organisator extends AbstractEntity
18
{
19
    protected string $name = '';
20
    protected string $email = '';
21
    protected string $emailSignature = '';
22
    protected string $phone = '';
23
    protected string $link = '';
24
    protected ?FileReference $image = null;
25
26
    public function getName(): string
27
    {
28
        return $this->name;
29
    }
30
31
    public function setName(string $name): void
32
    {
33
        $this->name = $name;
34
    }
35
36
    public function getEmail(): string
37
    {
38
        return $this->email;
39
    }
40
41
    public function setEmail(string $email): void
42
    {
43
        $this->email = $email;
44
    }
45
46
    public function getEmailSignature(): string
47
    {
48
        return $this->emailSignature;
49
    }
50
51
    public function setEmailSignature(string $emailSignature): void
52
    {
53
        $this->emailSignature = $emailSignature;
54
    }
55
56
    public function getPhone(): string
57
    {
58
        return $this->phone;
59
    }
60
61
    public function setPhone(string $phone): void
62
    {
63
        $this->phone = $phone;
64
    }
65
66
    public function getImage(): ?FileReference
67
    {
68
        return $this->image;
69
    }
70
71
    public function setImage(?FileReference $image): void
72
    {
73
        $this->image = $image;
74
    }
75
76
    public function getLink(): string
77
    {
78
        return $this->link;
79
    }
80
81
    public function setLink(string $link): void
82
    {
83
        $this->link = $link;
84
    }
85
}
86