Add Sponsors bundle
This commit is contained in:
parent
de2b25f35e
commit
d0774d1408
|
@ -2,6 +2,7 @@
|
|||
|
||||
use App\Schedule\SculpinScheduleBundle;
|
||||
use App\Speakers\SculpinSpeakersBundle;
|
||||
use App\Sponsors\SculpinSponsorsBundle;
|
||||
use Opdavies\Sculpin\Bundle\TwigMarkdownBundle\SculpinTwigMarkdownBundle;
|
||||
use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;
|
||||
|
||||
|
@ -12,6 +13,7 @@ class SculpinKernel extends AbstractKernel
|
|||
return [
|
||||
SculpinScheduleBundle::class,
|
||||
SculpinSpeakersBundle::class,
|
||||
SculpinSponsorsBundle::class,
|
||||
SculpinTwigMarkdownBundle::class,
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}
|
1
src/Sponsors/src/Resources/config/services.yml
Normal file
1
src/Sponsors/src/Resources/config/services.yml
Normal file
|
@ -0,0 +1 @@
|
|||
services:
|
9
src/Sponsors/src/SculpinSponsorsBundle.php
Normal file
9
src/Sponsors/src/SculpinSponsorsBundle.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace App\Sponsors;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class SculpinSponsorsBundle extends Bundle
|
||||
{
|
||||
}
|
Loading…
Reference in a new issue