Passed
Push — main ( 5907b1...d71986 )
by Torben
03:21
created

__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 2
rs 10
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\Event;
13
14
use DERHANSEN\SfEventMgt\Controller\AdministrationController;
15
16
/**
17
 * This event is triggered before the administration index notify view is rendered
18
 */
19
final class ModifyAdministrationIndexNotifyViewVariablesEvent
20
{
21
    public function __construct(private array $variables, private readonly AdministrationController $administrationController)
22
    {
23
    }
24
25
    public function getVariables(): array
26
    {
27
        return $this->variables;
28
    }
29
30
    public function setVariables(array $variables): void
31
    {
32
        $this->variables = $variables;
33
    }
34
35
    public function getAdministrationController(): AdministrationController
36
    {
37
        return $this->administrationController;
38
    }
39
}
40