24 rindas
844B

  1. <?php
  2. namespace Lc\ShopBundle\DependencyInjection;
  3. use Symfony\Component\Config\FileLocator;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\DependencyInjection\Extension\Extension;
  6. use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
  7. use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
  8. class LcShopExtension extends Extension implements PrependExtensionInterface
  9. {
  10. public function load(array $configs, ContainerBuilder $container)
  11. {
  12. }
  13. public function prepend(ContainerBuilder $container)
  14. {
  15. /*$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config/easy_admin'));
  16. $loader->load('base.yaml');
  17. $loader->load('entities/merchant.yaml');*/
  18. }
  19. }