|
|
@@ -19,6 +19,7 @@ use Lc\SovBundle\Container\Ticket\TicketMessageContainer; |
|
|
|
use Lc\SovBundle\Container\User\GroupUserContainer; |
|
|
|
use Lc\SovBundle\Container\User\UserContainer; |
|
|
|
use Lc\SovBundle\Field\Filter\FilterManager; |
|
|
|
use Lc\SovBundle\Generator\PdfGenerator; |
|
|
|
use Lc\SovBundle\Repository\EntityRepository; |
|
|
|
use Lc\SovBundle\Solver\Setting\SettingSolver; |
|
|
|
use Lc\SovBundle\Translation\FlashBagTranslator; |
|
|
@@ -53,6 +54,7 @@ trait ControllerTrait |
|
|
|
LoggerInterface::class => LoggerInterface::class, |
|
|
|
ParameterBagInterface::class => ParameterBagInterface::class, |
|
|
|
TranslatorInterface::class => TranslatorInterface::class, |
|
|
|
PdfGenerator::class => PdfGenerator::class, |
|
|
|
TranslatorAdmin::class => TranslatorAdmin::class, |
|
|
|
FilterManager::class => FilterManager::class, |
|
|
|
FlashBagTranslator::class => FlashBagTranslator::class, |
|
|
@@ -177,6 +179,11 @@ trait ControllerTrait |
|
|
|
return $this->get(TranslatorInterface::class); |
|
|
|
} |
|
|
|
|
|
|
|
public function getPdfGenerator(): PdfGenerator |
|
|
|
{ |
|
|
|
return $this->get(PdfGenerator::class); |
|
|
|
} |
|
|
|
|
|
|
|
public function getTranslatorAdmin(): TranslatorAdmin |
|
|
|
{ |
|
|
|
return $this->get(TranslatorAdmin::class); |