wp-user-avatar
/
third-party
/
vendor
/
stripe
/
stripe-php
/
lib
/
Service
/
Apps
/
AppsServiceFactory.php
AppsServiceFactory.php
22 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | namespace ProfilePressVendor\Stripe\Service\Apps; |
| 5 | |
| 6 | /** |
| 7 | * Service factory class for API resources in the Apps namespace. |
| 8 | * |
| 9 | * @property SecretService $secrets |
| 10 | */ |
| 11 | class AppsServiceFactory extends \ProfilePressVendor\Stripe\Service\AbstractServiceFactory |
| 12 | { |
| 13 | /** |
| 14 | * @var array<string, string> |
| 15 | */ |
| 16 | private static $classMap = ['secrets' => SecretService::class]; |
| 17 | protected function getServiceClass($name) |
| 18 | { |
| 19 | return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; |
| 20 | } |
| 21 | } |
| 22 |