Skip to content

Commit

Permalink
file rename
Browse files Browse the repository at this point in the history
  • Loading branch information
hanishsingla committed Jun 1, 2017
1 parent a4ca348 commit bda0c97
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions DependencyInjection/MpdfWrapperExtension.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace Symfgenus\MpdfWrapper\DependencyInjection;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;

/**
* This is the class that loads and manages your bundle configuration
*
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
*/
class MpdfWrapperExtension extends Extension
{
/**
* {@inheritDoc}
*/
public function load(array $configs, ContainerBuilder $container)
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);

$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
}
}

0 comments on commit bda0c97

Please sign in to comment.