itflow/plugins/stripe-php/lib/Service/Forwarding/ForwardingServiceFactory.php

26 lines
573 B
PHP

<?php
// File generated from our OpenAPI spec
namespace Stripe\Service\Forwarding;
/**
* Service factory class for API resources in the Forwarding namespace.
*
* @property RequestService $requests
*/
class ForwardingServiceFactory extends \Stripe\Service\AbstractServiceFactory
{
/**
* @var array<string, string>
*/
private static $classMap = [
'requests' => RequestService::class,
];
protected function getServiceClass($name)
{
return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
}
}