- Corrige l'erreur SQL 'Unknown column fk_operation in users' - L'opération active est récupérée depuis operations.chk_active = 1 - Jointure avec users pour filtrer par entité de l'admin créateur - Query: SELECT o.id FROM operations o INNER JOIN users u ON u.fk_entite = o.fk_entite WHERE u.id = ? AND o.chk_active = 1
27 lines
626 B
PHP
Executable File
27 lines
626 B
PHP
Executable File
<?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;
|
|
}
|
|
}
|