Browse: Home / Classes /

AbstractServiceFactory

AbstractServiceFactory

Abstract base class for all service factories used to expose service instances through {@link \Stripe\StripeClient}.


Description #

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.

Source #

File: includes/lib/stripe-php/lib/Service/AbstractServiceFactory.php



Methods #