diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..51c1721 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea/ +vendor/ + diff --git a/BillingBundle/Controller/BillingController.php b/BillingBundle/Controller/BillingController.php new file mode 100644 index 0000000..4def5ee --- /dev/null +++ b/BillingBundle/Controller/BillingController.php @@ -0,0 +1,16 @@ +load('services.yaml'); + + $this->addAnnotatedClassesToCompile([ + 'Bluesquare\\BillingBundle\\Controller\\' + ]); + + $config = $this->processConfiguration($configuration, $configs); + } +} diff --git a/BillingBundle/DependencyInjection/Configuration.php b/BillingBundle/DependencyInjection/Configuration.php new file mode 100644 index 0000000..b8c9d37 --- /dev/null +++ b/BillingBundle/DependencyInjection/Configuration.php @@ -0,0 +1,25 @@ +getRootNode()->children() + ->arrayNode('stripe')->children() + ->scalarNode('stripe_api_key_pub')->end() + ->scalarNode('stripe_api_key')->end() + ->scalarNode('stripe_webhook_key')->end() + ->end() + ->end(); + + + return $treeBuilder; + } +} diff --git a/BillingBundle/Resources/config.xml b/BillingBundle/Resources/config.xml new file mode 100644 index 0000000..e69de29 diff --git a/BillingBundle/Resources/services.yaml b/BillingBundle/Resources/services.yaml new file mode 100644 index 0000000..ad56447 --- /dev/null +++ b/BillingBundle/Resources/services.yaml @@ -0,0 +1,5 @@ +services: + # default configuration for services in *this* file + _defaults: + autowire: true # Automatically injects dependencies in your services. + autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. diff --git a/BillingBundle/Service.php b/BillingBundle/Service.php new file mode 100644 index 0000000..02a0986 --- /dev/null +++ b/BillingBundle/Service.php @@ -0,0 +1,8 @@ +=7.1" + }, + "platform-dev": [] +}