Browse Source

Ajout des APplicationDefintion de maniere native

feature/symfony6.1
Fabien Normand 1 year ago
parent
commit
df0b86ea4b
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      src/Definition/ApplicationDefinition.php

+ 22
- 0
src/Definition/ApplicationDefinition.php View File

<?php

namespace App\Definition;

use Lc\SovBundle\Definition\ApplicationDefinition as SovApplicationDefinition;

use Symfony\Component\DependencyInjection\Container;

use function Symfony\Component\String\u;

class ApplicationDefinition extends SovApplicationDefinition
{

public static function getContainerList(): array
{
return array_merge(parent::getContainerList(), [
//Ajouter ici les container ou autres services que souhaitez ajouter aux SubsribedServices des controller
// L'appel à cette méthode est fait depuis SovBundle\Controller\ControllerTrait
]);
}

}

Loading…
Cancel
Save