Issues (180)

Classes/Domain/Model/CustomNotificationLog.php (1 issue)

Labels
Severity
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 DateTime;
15
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
0 ignored issues
show
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 CustomNotificationLog extends AbstractEntity
18
{
19
    protected Event $event;
20
    protected string $details = '';
21
    protected string $message = '';
22
    protected int $emailsSent = 0;
23
    protected ?DateTime $tstamp = null;
24
    protected int $cruserId = 0;
25
26
    public function setDetails(string $details): void
27
    {
28
        $this->details = $details;
29
    }
30
31
    public function getDetails(): string
32
    {
33
        return $this->details;
34
    }
35
36
    public function getMessage(): string
37
    {
38
        return $this->message;
39
    }
40
41
    public function setMessage(string $message): void
42
    {
43
        $this->message = $message;
44
    }
45
46
    public function setEvent(Event $event): void
47
    {
48
        $this->event = $event;
49
    }
50
51
    public function getEvent(): Event
52
    {
53
        return $this->event;
54
    }
55
56
    public function setEmailsSent(int $emailsSent): void
57
    {
58
        $this->emailsSent = $emailsSent;
59
    }
60
61
    public function getEmailsSent(): int
62
    {
63
        return $this->emailsSent;
64
    }
65
66
    public function getTstamp(): ?DateTime
67
    {
68
        return $this->tstamp;
69
    }
70
71
    public function setTstamp(?DateTime $tstamp): void
72
    {
73
        $this->tstamp = $tstamp;
74
    }
75
76
    public function getCruserId(): int
77
    {
78
        return $this->cruserId;
79
    }
80
81
    public function setCruserId(int $cruserId): void
82
    {
83
        $this->cruserId = $cruserId;
84
    }
85
}
86