* @param HttpUtils $httpUtils The http utils
* @param array $options The options
* @param LoggerInterface $logger The logger instance
+ * @param ?string $firewallName The firewall name
* @param ContainerInterface $container The container instance
* @param ManagerRegistry $doctrine The doctrine instance
* @param MailerInterface $mailer The mailer instance
* @param RequestStack $stack The stack instance
* @param TranslatorInterface $translator The translator instance
*/
- public function __construct(protected HttpKernelInterface $httpKernel, protected HttpUtils $httpUtils, protected array $options, protected ?LoggerInterface $logger, protected ContainerInterface $container, protected ManagerRegistry $doctrine, protected MailerInterface $mailer, protected RouterInterface $router, protected SluggerUtil $slugger, protected RequestStack $stack, protected TranslatorInterface $translator) {
+ public function __construct(protected HttpKernelInterface $httpKernel, protected HttpUtils $httpUtils, protected array $options, protected ?LoggerInterface $logger, private readonly ?string $firewallName, protected ContainerInterface $container, protected ManagerRegistry $doctrine, protected MailerInterface $mailer, protected RouterInterface $router, protected SluggerUtil $slugger, protected RequestStack $stack, protected TranslatorInterface $translator) {
//Call parent constructor
- parent::__construct($httpKernel, $httpUtils, $options, $logger);
+ parent::__construct($httpKernel, $httpUtils, $options, $logger, $firewallName);
//Set config
$this->config = $container->getParameter($this->alias = RapsysUserBundle::getAlias());