‪TYPO3CMS  11.5
PackageInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
22 {
26  public const ‪PATTERN_MATCH_COMPOSER_NAME = '{^[a-z0-9_.-]+/[a-z0-9_.-]+$}D';
27 
28  public const ‪PATTERN_MATCH_PACKAGEKEY = '/^[a-z0-9]+\.(?:[a-z0-9][\.a-z0-9]*)+$/i';
29 
30  public const ‪PATTERN_MATCH_EXTENSIONKEY = '/^[0-9a-z_-]+$/i';
31 
36  public function ‪getPackageReplacementKeys();
37 
45  public function ‪isPartOfFactoryDefault();
46 
55  public function ‪isPartOfMinimalUsableSystem();
56 
65  public function ‪getValueFromComposerManifest($key = null);
66 
73  public function ‪getPackageMetaData();
74 
80  public function ‪getPackageKey();
81 
87  public function ‪isProtected();
88 
94  public function ‪setProtected($protected);
95 
101  public function ‪getPackagePath();
102 }
‪TYPO3\CMS\Core\Package\PackageInterface\getPackageKey
‪string getPackageKey()
‪TYPO3\CMS\Core\Package\PackageInterface\isPartOfMinimalUsableSystem
‪bool isPartOfMinimalUsableSystem()
‪TYPO3\CMS\Core\Package\PackageInterface\isPartOfFactoryDefault
‪bool isPartOfFactoryDefault()
‪TYPO3\CMS\Core\Package\PackageInterface\getPackagePath
‪string getPackagePath()
‪TYPO3\CMS\Core\Package\PackageInterface\PATTERN_MATCH_EXTENSIONKEY
‪const PATTERN_MATCH_EXTENSIONKEY
Definition: PackageInterface.php:30
‪TYPO3\CMS\Core\Package\PackageInterface\setProtected
‪setProtected($protected)
‪TYPO3\CMS\Core\Package\PackageInterface
Definition: PackageInterface.php:22
‪TYPO3\CMS\Core\Package\PackageInterface\getPackageReplacementKeys
‪array getPackageReplacementKeys()
‪TYPO3\CMS\Core\Package\PackageInterface\PATTERN_MATCH_PACKAGEKEY
‪const PATTERN_MATCH_PACKAGEKEY
Definition: PackageInterface.php:28
‪TYPO3\CMS\Core\Package\PackageInterface\PATTERN_MATCH_COMPOSER_NAME
‪const PATTERN_MATCH_COMPOSER_NAME
Definition: PackageInterface.php:26
‪TYPO3\CMS\Core\Package\PackageInterface\getPackageMetaData
‪MetaData getPackageMetaData()
‪TYPO3\CMS\Core\Package\PackageInterface\getValueFromComposerManifest
‪mixed null getValueFromComposerManifest($key=null)
‪TYPO3\CMS\Core\Package
Definition: AbstractServiceProvider.php:18
‪TYPO3\CMS\Core\Package\MetaData
Definition: MetaData.php:24
‪TYPO3\CMS\Core\Package\PackageInterface\isProtected
‪bool isProtected()