SigmaServiceFactory.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | |
| 5 | namespace Stripe\Service\Sigma; |
| 6 | |
| 7 | /** |
| 8 | * Service factory class for API resources in the Sigma namespace. |
| 9 | * |
| 10 | * @property ScheduledQueryRunService $scheduledQueryRuns |
| 11 | */ |
| 12 | class SigmaServiceFactory extends \Stripe\Service\AbstractServiceFactory |
| 13 | { |
| 14 | /** |
| 15 | * @var array<string, string> |
| 16 | */ |
| 17 | private static $classMap = [ |
| 18 | 'scheduledQueryRuns' => ScheduledQueryRunService::class, |
| 19 | ]; |
| 20 | |
| 21 | protected function getServiceClass($name) |
| 22 | { |
| 23 | return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; |
| 24 | } |
| 25 | } |
| 26 |