Completed
Push — master ( 5da019...46d695 )
by
unknown
19:03
created

getLinkAnalyzerResult()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the TYPO3 CMS project.
7
 *
8
 * It is free software; you can redistribute it and/or modify it under
9
 * the terms of the GNU General Public License, either version 2
10
 * of the License, or any later version.
11
 *
12
 * For the full copyright and license information, please read the
13
 * LICENSE.txt file that was distributed with this source code.
14
 *
15
 * The TYPO3 project - inspiring people to share!
16
 */
17
18
namespace TYPO3\CMS\Linkvalidator\Event;
19
20
use TYPO3\CMS\Core\Mail\FluidEmail;
21
use TYPO3\CMS\Linkvalidator\Result\LinkAnalyzerResult;
22
23
/**
24
 * Allows to process and modify the LinkAnalyzer result and FluidEmail object
25
 */
26
final class ModifyValidatorTaskEmailEvent
27
{
28
    /**
29
     * @var LinkAnalyzerResult
30
     */
31
    private $linkAnalyzerResult;
32
33
    /**
34
     * @var FluidEmail
35
     */
36
    private $fluidEmail;
37
38
    /**
39
     * @var array
40
     */
41
    private $modTSconfig;
42
43
    public function __construct(LinkAnalyzerResult $linkAnalyzerResult, FluidEmail $fluidEmail, array $modTSconfig)
44
    {
45
        $this->linkAnalyzerResult = $linkAnalyzerResult;
46
        $this->fluidEmail = $fluidEmail;
47
        $this->modTSconfig = $modTSconfig;
48
    }
49
50
    public function getLinkAnalyzerResult(): LinkAnalyzerResult
51
    {
52
        return $this->linkAnalyzerResult;
53
    }
54
55
    public function getFluidEmail(): FluidEmail
56
    {
57
        return $this->fluidEmail;
58
    }
59
60
    public function getModTSconfig(): array
61
    {
62
        return $this->modTSconfig;
63
    }
64
}
65