|
|
|
|
|
|
|
|
|
|
|
<?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 |
|
|
|
|
|
]); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |