Przeglądaj źródła

twig config with applicationDefinition

develop
Fab 2 lat temu
rodzic
commit
3ffa600da3
2 zmienionych plików z 14 dodań i 13 usunięć
  1. +1
    -1
      Controller/ControllerTrait.php
  2. +13
    -12
      Definition/ApplicationDefinition.php

+ 1
- 1
Controller/ControllerTrait.php Wyświetl plik

@@ -275,4 +275,4 @@ trait ControllerTrait
set_time_limit(0);
}

}
}

+ 13
- 12
Definition/ApplicationDefinition.php Wyświetl plik

@@ -20,25 +20,26 @@ class ApplicationDefinition
public static function getContainerList(): array
{
return [
FileContainer::class,
NewsletterContainer::class,
ReminderContainer::class,
NewsContainer::class,
PageContainer::class,
SiteContainer::class,
TicketContainer::class,
TicketMessageContainer::class,
GroupUserContainer::class,
UserContainer::class,
SiteSettingContainer::class
FileContainer::class,
NewsletterContainer::class,
ReminderContainer::class,
NewsContainer::class,
PageContainer::class,
SiteContainer::class,
TicketContainer::class,
TicketMessageContainer::class,
GroupUserContainer::class,
UserContainer::class,
SiteSettingContainer::class
];
}

public static function getSubscribedContainerServices(): array
{

$array = [];

foreach (self::$containers as $container) {
foreach (self::getContainerList() as $container) {
$array[$container] = $container;
}


Ładowanie…
Anuluj
Zapisz