SHARE
TWEET

Untitled

a guest Apr 19th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. namespace App\User\DocumentBundle\DependencyInjection;
  4.  
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
  7.  
  8. class DocumentExtension
  9. {
  10.     public function load(array $configs, ContainerBuilder $container)
  11.     {
  12.         $loader = new YamlFileLoader(
  13.             $container,
  14.             new FileLocator(__DIR__.'/../Resources/config')
  15.         );
  16.         $loader->load('services.yml');
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top