dev push
This commit is contained in:
parent
42e3400f2e
commit
ad2305a40a
|
@ -1,5 +1,6 @@
|
||||||
services:
|
services:
|
||||||
# default configuration for services in *this* file
|
Bluesquare\BillingBundle:
|
||||||
_defaults:
|
resource: "../../Service/*"
|
||||||
autowire: true # Automatically injects dependencies in your services.
|
arguments:
|
||||||
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
|
$container: "@service_container"
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ class BillingSrv
|
||||||
{
|
{
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function createPurchase($items)
|
public function createPurchase($items)
|
||||||
{
|
{
|
||||||
$apiKey = $this->container->getParameter('stripe_api_key_secret');
|
$apiKey = $this->container->getParameter('stripe_api_key_secret');
|
||||||
|
|
Loading…
Reference in New Issue