Fix: Corriger le type PDO dans StripeService et retirer getConnection()
This commit is contained in:
26
api/vendor/stripe/stripe-php/lib/Service/AbstractServiceFactory.php
vendored
Normal file
26
api/vendor/stripe/stripe-php/lib/Service/AbstractServiceFactory.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Stripe\Service;
|
||||
|
||||
/**
|
||||
* Abstract base class for all service factories used to expose service
|
||||
* instances through {@link \Stripe\StripeClient}.
|
||||
*
|
||||
* Service factories serve two purposes:
|
||||
*
|
||||
* 1. Expose properties for all services through the `__get()` magic method.
|
||||
* 2. Lazily initialize each service instance the first time the property for
|
||||
* a given service is used.
|
||||
*/
|
||||
abstract class AbstractServiceFactory
|
||||
{
|
||||
use ServiceNavigatorTrait;
|
||||
|
||||
/**
|
||||
* @param \Stripe\StripeClientInterface $client
|
||||
*/
|
||||
public function __construct($client)
|
||||
{
|
||||
$this->client = $client;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user