926fe074e8b03f5812c82146ecefc3330710ab36
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Utility / AccessibleProxies / ExtensionManagementUtilityAccessibleProxy.php
1 <?php
2 namespace TYPO3\CMS\Core\Tests\Unit\Utility\AccessibleProxies;
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\Core\Cache\CacheManager;
18 use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;
19 use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
20
21 /**
22 * Accessible proxy with protected methods made public
23 */
24 class ExtensionManagementUtilityAccessibleProxy extends ExtensionManagementUtility
25 {
26 public static function setCacheManager(CacheManager $cacheManager = null)
27 {
28 static::$cacheManager = $cacheManager;
29 }
30
31 public static function getPackageManager()
32 {
33 return static::$packageManager;
34 }
35
36 public static function getExtLocalconfCacheIdentifier()
37 {
38 return parent::getExtLocalconfCacheIdentifier();
39 }
40
41 public static function loadSingleExtLocalconfFiles()
42 {
43 parent::loadSingleExtLocalconfFiles();
44 }
45
46 public static function getBaseTcaCacheIdentifier()
47 {
48 return parent::getBaseTcaCacheIdentifier();
49 }
50
51 public static function resetExtTablesWasReadFromCacheOnceBoolean()
52 {
53 self::$extTablesWasReadFromCacheOnce = false;
54 }
55
56 public static function createExtLocalconfCacheEntry(FrontendInterface $cache)
57 {
58 parent::createExtLocalconfCacheEntry($cache);
59 }
60
61 public static function createExtTablesCacheEntry()
62 {
63 parent::createExtTablesCacheEntry();
64 }
65
66 public static function getExtTablesCacheIdentifier()
67 {
68 return parent::getExtTablesCacheIdentifier();
69 }
70
71 public static function buildBaseTcaFromSingleFiles()
72 {
73 $GLOBALS['TCA'] = [];
74 }
75
76 public static function emitTcaIsBeingBuiltSignal(array $tca)
77 {
78 }
79
80 public static function removeDuplicatesForInsertion($insertionList, $list = '')
81 {
82 return parent::removeDuplicatesForInsertion($insertionList, $list);
83 }
84 }