[TASK] Re-work/simplify copyright header in PHP files - Part 1
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Status / AbstractStatus.php
1 <?php
2 namespace TYPO3\CMS\Install\Status;
3
4 /**
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 /**
18 * Abstract status
19 *
20 * @author Christian Kuhn <lolli@schwarzbu.ch>
21 */
22 abstract class AbstractStatus implements StatusInterface {
23
24 /**
25 * @var string Severity
26 */
27 protected $severity = '';
28
29 /**
30 * @var string Title
31 */
32 protected $title = '';
33
34 /**
35 * @var string Status message
36 */
37 protected $message = '';
38
39 /**
40 * @return string The severity
41 */
42 public function getSeverity() {
43 return $this->severity;
44 }
45
46 /**
47 * @return string The title
48 */
49 public function getTitle() {
50 return $this->title;
51 }
52
53 /**
54 * Set title
55 *
56 * @param string $title The title
57 * @return void
58 */
59 public function setTitle($title) {
60 $this->title = $title;
61 }
62
63 /**
64 * Get status message
65 *
66 * @return string Status message
67 */
68 public function getMessage() {
69 return $this->message;
70 }
71
72 /**
73 * Set status message
74 *
75 * @param string $message Status message
76 * @return void
77 */
78 public function setMessage($message) {
79 $this->message = $message;
80 }
81 }