From d0774d1408ed93e13df6478595f844c49468eb2d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 20 May 2019 22:12:34 +0100 Subject: [PATCH] Add Sponsors bundle --- app/SculpinKernel.php | 2 ++ .../SculpinSponsorsExtension.php | 18 ++++++++++++++++++ src/Sponsors/src/Resources/config/services.yml | 1 + src/Sponsors/src/SculpinSponsorsBundle.php | 9 +++++++++ 4 files changed, 30 insertions(+) create mode 100644 src/Sponsors/src/DependencyInjection/SculpinSponsorsExtension.php create mode 100644 src/Sponsors/src/Resources/config/services.yml create mode 100644 src/Sponsors/src/SculpinSponsorsBundle.php diff --git a/app/SculpinKernel.php b/app/SculpinKernel.php index 063ecf4..a947beb 100644 --- a/app/SculpinKernel.php +++ b/app/SculpinKernel.php @@ -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, ]; } diff --git a/src/Sponsors/src/DependencyInjection/SculpinSponsorsExtension.php b/src/Sponsors/src/DependencyInjection/SculpinSponsorsExtension.php new file mode 100644 index 0000000..aa7712c --- /dev/null +++ b/src/Sponsors/src/DependencyInjection/SculpinSponsorsExtension.php @@ -0,0 +1,18 @@ +load('services.yml'); + } +} \ No newline at end of file diff --git a/src/Sponsors/src/Resources/config/services.yml b/src/Sponsors/src/Resources/config/services.yml new file mode 100644 index 0000000..0baad47 --- /dev/null +++ b/src/Sponsors/src/Resources/config/services.yml @@ -0,0 +1 @@ +services: diff --git a/src/Sponsors/src/SculpinSponsorsBundle.php b/src/Sponsors/src/SculpinSponsorsBundle.php new file mode 100644 index 0000000..15403de --- /dev/null +++ b/src/Sponsors/src/SculpinSponsorsBundle.php @@ -0,0 +1,9 @@ +