‪TYPO3CMS  9.5
ExtensionModel.php
Go to the documentation of this file.
1 <?php
2 declare(strict_types = 1);
3 
5 
6 /*
7  * This file is part of the TYPO3 CMS project.
8  *
9  * It is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License, either version 2
11  * of the License, or any later version.
12  *
13  * For the full copyright and license information, please read the
14  * LICENSE.txt file that was distributed with this source code.
15  *
16  * The TYPO3 project - inspiring people to share!
17  */
18 
25 {
26  protected ‪$key = '';
27  protected ‪$title = '';
28  protected ‪$versionString = '';
29  protected ‪$composerName = '';
30  protected ‪$description = '';
31 
32  public function ‪__construct(
33  string ‪$key,
34  string ‪$title,
35  string ‪$versionString,
36  string ‪$composerName,
37  string ‪$description
38  ) {
39  $this->key = ‪$key;
40  $this->title = ‪$title;
41  $this->versionString = ‪$versionString;
42  $this->composerName = ‪$composerName;
43  $this->description = ‪$description;
44  }
45 
46  public function ‪getDescription(): string
47  {
48  return ‪$this->description;
49  }
50 
54  public function ‪getKey(): string
55  {
56  return ‪$this->key;
57  }
58 
62  public function ‪getTitle(): string
63  {
64  return ‪$this->title;
65  }
66 
70  public function ‪getVersionString(): string
71  {
73  }
74 
78  public function ‪getComposerName(): string
79  {
81  }
82 }
‪TYPO3\CMS\Install\Updates\ExtensionModel\__construct
‪__construct(string $key, string $title, string $versionString, string $composerName, string $description)
Definition: ExtensionModel.php:32
‪TYPO3\CMS\Install\Updates\ExtensionModel\getComposerName
‪string getComposerName()
Definition: ExtensionModel.php:78
‪TYPO3\CMS\Install\Updates\ExtensionModel\$versionString
‪$versionString
Definition: ExtensionModel.php:28
‪TYPO3\CMS\Install\Updates
Definition: AbstractDownloadExtensionUpdate.php:3
‪TYPO3\CMS\Install\Updates\ExtensionModel\getVersionString
‪string getVersionString()
Definition: ExtensionModel.php:70
‪TYPO3\CMS\Install\Updates\ExtensionModel\$composerName
‪$composerName
Definition: ExtensionModel.php:29
‪TYPO3\CMS\Install\Updates\ExtensionModel
Definition: ExtensionModel.php:25
‪TYPO3\CMS\Install\Updates\ExtensionModel\getKey
‪string getKey()
Definition: ExtensionModel.php:54
‪TYPO3\CMS\Install\Updates\ExtensionModel\$description
‪$description
Definition: ExtensionModel.php:30
‪TYPO3\CMS\Install\Updates\ExtensionModel\getTitle
‪string getTitle()
Definition: ExtensionModel.php:62
‪TYPO3\CMS\Install\Updates\ExtensionModel\$key
‪$key
Definition: ExtensionModel.php:26
‪TYPO3\CMS\Install\Updates\ExtensionModel\getDescription
‪getDescription()
Definition: ExtensionModel.php:46
‪TYPO3\CMS\Install\Updates\ExtensionModel\$title
‪$title
Definition: ExtensionModel.php:27