dev push
This commit is contained in:
parent
42e3400f2e
commit
ad2305a40a
|
@ -1,5 +1,6 @@
|
|||
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.
|
||||
Bluesquare\BillingBundle:
|
||||
resource: "../../Service/*"
|
||||
arguments:
|
||||
$container: "@service_container"
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ class BillingSrv
|
|||
{
|
||||
$this->container = $container;
|
||||
}
|
||||
|
||||
public function createPurchase($items)
|
||||
{
|
||||
$apiKey = $this->container->getParameter('stripe_api_key_secret');
|
||||
|
|
Loading…
Reference in New Issue