Source of file TICTownExtension.php
Size: 0,913 Bytes - Last Modified: 2023-11-16T22:56:03+01:00
/home/websites/teicee/packagist/site/phpdoc/conf/../vendor/teicee/town-bundle/src/DependencyInjection/TICTownExtension.php
| 123456789101112131415161718192021222324252627282930313233 | <?phpnamespace TIC\TownBundle\DependencyInjection; use Symfony\Component\HttpKernel\DependencyInjection\Extension; #use Symfony\Component\DependencyInjection\Extension\Extension;use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; use Symfony\Component\Config\FileLocator; /** * Chargement des configurations et initialisation du bundle. * @link http://symfony.com/doc/current/bundles/extension.html */class TICTownExtension extends Extension {/** * {@inheritDoc} */public function load(array $configs, ContainerBuilder $container) { # $configuration = new Configuration();# $config = $this->processConfiguration($configuration, $configs); $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../../config')); $loader->load('services.yaml'); # $this->addAnnotatedClassesToCompile([# ]);} } |