8ee86fad1655c1fcc901313ed2b91a8caf0b4062
[Packages/TYPO3.CMS.git] / typo3 / sysext / about / Classes / Domain / Model / Extension.php
1 <?php
2 namespace TYPO3\CMS\About\Domain\Model;
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 use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
18
19 /**
20 * An extension helper model to be used in ext:about context
21 *
22 * @entity
23 */
24 class Extension extends AbstractEntity
25 {
26 /**
27 * @var array
28 */
29 protected $authors = [];
30
31 /**
32 * @var string
33 */
34 protected $key = '';
35
36 /**
37 * @var string
38 */
39 protected $title = '';
40
41 /**
42 * @param array $authors
43 */
44 public function setAuthors($authors)
45 {
46 $this->authors = $authors;
47 }
48
49 /**
50 * @return array
51 */
52 public function getAuthors()
53 {
54 return $this->authors;
55 }
56
57 /**
58 * @param string $key
59 */
60 public function setKey($key)
61 {
62 $this->key = $key;
63 }
64
65 /**
66 * @return string
67 */
68 public function getKey()
69 {
70 return $this->key;
71 }
72
73 /**
74 * @param string $title
75 */
76 public function setTitle($title)
77 {
78 $this->title = $title;
79 }
80
81 /**
82 * @return string
83 */
84 public function getTitle()
85 {
86 return $this->title;
87 }
88 }