‪TYPO3CMS  10.4
ExtensionModel.php
Go to the documentation of this file.
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 
19 
26 {
30  protected ‪$key = '';
31 
35  protected ‪$title = '';
36 
40  protected ‪$versionString = '';
41 
45  protected ‪$composerName = '';
46 
50  protected ‪$description = '';
51 
52  public function ‪__construct(
53  string ‪$key,
54  string ‪$title,
55  string ‪$versionString,
56  string ‪$composerName,
57  string ‪$description
58  ) {
59  $this->key = ‪$key;
60  $this->title = ‪$title;
61  $this->versionString = ‪$versionString;
62  $this->composerName = ‪$composerName;
63  $this->description = ‪$description;
64  }
65 
66  public function ‪getDescription(): string
67  {
68  return ‪$this->description;
69  }
70 
74  public function ‪getKey(): string
75  {
76  return ‪$this->key;
77  }
78 
82  public function ‪getTitle(): string
83  {
84  return ‪$this->title;
85  }
86 
90  public function ‪getVersionString(): string
91  {
93  }
94 
98  public function ‪getComposerName(): string
99  {
100  return ‪$this->composerName;
101  }
102 }
‪TYPO3\CMS\Install\Updates\ExtensionModel\__construct
‪__construct(string $key, string $title, string $versionString, string $composerName, string $description)
Definition: ExtensionModel.php:47
‪TYPO3\CMS\Install\Updates\ExtensionModel\getComposerName
‪string getComposerName()
Definition: ExtensionModel.php:93
‪TYPO3\CMS\Install\Updates\ExtensionModel\$title
‪string $title
Definition: ExtensionModel.php:33
‪TYPO3\CMS\Install\Updates
Definition: AbstractDownloadExtensionUpdate.php:16
‪TYPO3\CMS\Install\Updates\ExtensionModel\getVersionString
‪string getVersionString()
Definition: ExtensionModel.php:85
‪TYPO3\CMS\Install\Updates\ExtensionModel\$versionString
‪string $versionString
Definition: ExtensionModel.php:37
‪TYPO3\CMS\Install\Updates\ExtensionModel
Definition: ExtensionModel.php:26
‪TYPO3\CMS\Install\Updates\ExtensionModel\getKey
‪string getKey()
Definition: ExtensionModel.php:69
‪TYPO3\CMS\Install\Updates\ExtensionModel\getTitle
‪string getTitle()
Definition: ExtensionModel.php:77
‪TYPO3\CMS\Install\Updates\ExtensionModel\$description
‪string $description
Definition: ExtensionModel.php:45
‪TYPO3\CMS\Install\Updates\ExtensionModel\$composerName
‪string $composerName
Definition: ExtensionModel.php:41
‪TYPO3\CMS\Install\Updates\ExtensionModel\getDescription
‪getDescription()
Definition: ExtensionModel.php:61
‪TYPO3\CMS\Install\Updates\ExtensionModel\$key
‪string $key
Definition: ExtensionModel.php:29