‪TYPO3CMS  11.5
ModifyClearCacheActionsEvent.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 
24 {
25  private array ‪$cacheActions;
27 
29  {
30  $this->cacheActions = ‪$cacheActions;
31  $this->cacheActionIdentifiers = ‪$cacheActionIdentifiers;
32  }
33 
34  public function ‪addCacheAction(array $cacheAction): void
35  {
36  $this->cacheActions[] = $cacheAction;
37  }
38 
39  public function ‪setCacheActions(array ‪$cacheActions): void
40  {
41  $this->cacheActions = ‪$cacheActions;
42  }
43 
44  public function ‪getCacheActions(): array
45  {
47  }
48 
49  public function ‪addCacheActionIdentifier(string $cacheActionIdentifier): void
50  {
51  $this->cacheActionIdentifiers[] = $cacheActionIdentifier;
52  }
53 
55  {
56  $this->cacheActionIdentifiers = ‪$cacheActionIdentifiers;
57  }
58 
59  public function ‪getCacheActionIdentifiers(): array
60  {
62  }
63 }
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\addCacheAction
‪addCacheAction(array $cacheAction)
Definition: ModifyClearCacheActionsEvent.php:34
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\__construct
‪__construct(array $cacheActions, array $cacheActionIdentifiers)
Definition: ModifyClearCacheActionsEvent.php:28
‪TYPO3\CMS\Backend\Backend\Event
Definition: ModifyClearCacheActionsEvent.php:18
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\addCacheActionIdentifier
‪addCacheActionIdentifier(string $cacheActionIdentifier)
Definition: ModifyClearCacheActionsEvent.php:49
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent
Definition: ModifyClearCacheActionsEvent.php:24
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\setCacheActions
‪setCacheActions(array $cacheActions)
Definition: ModifyClearCacheActionsEvent.php:39
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\$cacheActionIdentifiers
‪array $cacheActionIdentifiers
Definition: ModifyClearCacheActionsEvent.php:26
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\getCacheActionIdentifiers
‪getCacheActionIdentifiers()
Definition: ModifyClearCacheActionsEvent.php:59
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\getCacheActions
‪getCacheActions()
Definition: ModifyClearCacheActionsEvent.php:44
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\setCacheActionIdentifiers
‪setCacheActionIdentifiers(array $cacheActionIdentifiers)
Definition: ModifyClearCacheActionsEvent.php:54
‪TYPO3\CMS\Backend\Backend\Event\ModifyClearCacheActionsEvent\$cacheActions
‪array $cacheActions
Definition: ModifyClearCacheActionsEvent.php:25