| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class AfterExtensionSiteFilesHaveBeenImportedEvent |
||
| 24 | { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | * |
||
| 29 | * extension that imported the site configuration |
||
| 30 | */ |
||
| 31 | private string $packageKey; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var array list of site identifiers that were imported |
||
| 35 | * |
||
| 36 | * use as |
||
| 37 | * foreach ($siteIdentifierList as $siteIdentifier) { |
||
| 38 | * $configuration = $siteConfiguration->load($siteIdentifier); |
||
| 39 | * // do things |
||
| 40 | * } |
||
| 41 | */ |
||
| 42 | private array $siteIdentifierList; |
||
| 43 | |||
| 44 | public function __construct(string $packageKey, array $newSiteIdentifierList) |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getPackageKey(): string |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | public function getSiteIdentifierList(): array |
||
| 63 |