Add Sponsors bundle

This commit is contained in:
Oliver Davies 2019-05-20 22:12:34 +01:00
parent de2b25f35e
commit d0774d1408
4 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,18 @@
<?php
namespace App\Sponsors\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\Config\FileLocator;
class SculpinSponsorsExtension extends Extension
{
/** @inheritDoc */
public function load(array $configs, ContainerBuilder $container)
{
$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
$loader->load('services.yml');
}
}

View file

@ -0,0 +1 @@
services:

View file

@ -0,0 +1,9 @@
<?php
namespace App\Sponsors;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class SculpinSponsorsBundle extends Bundle
{
}