Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\User\DocumentBundle\DependencyInjection;
- use Symfony\Component\DependencyInjection\ContainerBuilder;
- use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
- class DocumentExtension
- {
- public function load(array $configs, ContainerBuilder $container)
- {
- $loader = new YamlFileLoader(
- $container,
- new FileLocator(__DIR__.'/../Resources/config')
- );
- $loader->load('services.yml');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement