Passed
Pull Request — main (#754)
by Tomas Norre
42:16 queued 27:25
created

QueueRow::setMessage()   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
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AOE\Crawler\Value;
6
7
/*
8
 * (c) 2021 AOE GmbH <[email protected]>
9
 *
10
 * This file is part of the TYPO3 Crawler Extension.
11
 *
12
 * It is free software; you can redistribute it and/or modify it under
13
 * the terms of the GNU General Public License, either version 2
14
 * of the License, or any later version.
15
 *
16
 * For the full copyright and license information, please read the
17
 * LICENSE.txt file that was distributed with this source code.
18
 *
19
 * The TYPO3 project - inspiring people to share!
20
 */
21
22
/**
23
 * @internal
24
 */
25
class QueueRow
26
{
27
    /**
28
     * @var string
29
     */
30
    public $pageTitle = '';
31
32
    /**
33
     * @var string
34
     */
35
    public $pageTitleHTML = '';
36
37
    /**
38
     * @var string
39
     */
40
    public $message;
41
42
    /**
43
     * @var string
44
     */
45
    public $configurationKey;
46
47
    /**
48
     * @var string
49
     */
50
    public $parameterConfig;
51
52
    /**
53
     * @var string
54
     */
55
    public $valuesExpanded;
56
57
    /**
58
     * @var string
59
     */
60
    public $urls;
61
62
    /**
63
     * @var array
64
     */
65
    public $options;
66
67
    /**
68
     * @var string
69
     */
70
    public $parameters;
71
72
    public function __construct(string $title = '')
73
    {
74
        $this->pageTitle = $title;
75
    }
76
77
    public function setPageTitleHTML(string $pageTitleHTML): void
78
    {
79
        $this->pageTitleHTML = $pageTitleHTML;
80
    }
81
82
    public function setMessage(string $message): void
83
    {
84
        $this->message = $message;
85
    }
86
87
    public function setConfigurationKey(string $configurationKey): void
88
    {
89
        $this->configurationKey = $configurationKey;
90
    }
91
92
    public function setParameterConfig(string $parameterConfig): void
93
    {
94
        $this->parameterConfig = $parameterConfig;
95
    }
96
97
    public function setValuesExpanded(string $valuesExpanded): void
98
    {
99
        $this->valuesExpanded = $valuesExpanded;
100
    }
101
102
    public function setUrls(string $urls): void
103
    {
104
        $this->urls = $urls;
105
    }
106
107
    public function setOptions(array $options): void
108
    {
109
        $this->options = $options;
110
    }
111
112
    public function setParameters(string $parameters): void
113
    {
114
        $this->parameters = $parameters;
115
    }
116
}
117