AccessToken
6 months ago
AuthHandler
6 months ago
Http
6 months ago
Service
6 months ago
Task
6 months ago
Utils
6 months ago
Client.php
6 months ago
Collection.php
6 months ago
Exception.php
6 months ago
Model.php
6 months ago
Service.php
6 months ago
aliases.php
6 months ago
aliases.php
103 lines
| 1 | <?php |
| 2 | |
| 3 | if (class_exists('AmeliaVendor_Google_Client', false)) { |
| 4 | // Prevent error with preloading in PHP 7.4 |
| 5 | // @see https://github.com/googleapis/google-api-php-client/issues/1976 |
| 6 | return; |
| 7 | } |
| 8 | |
| 9 | $classMap = [ |
| 10 | 'AmeliaVendor\\Google\\Client' => 'AmeliaVendor_Google_Client', |
| 11 | 'AmeliaVendor\\Google\\Service' => 'AmeliaVendor_Google_Service', |
| 12 | 'AmeliaVendor\\Google\\AccessToken\\Revoke' => 'AmeliaVendor_Google_AccessToken_Revoke', |
| 13 | 'AmeliaVendor\\Google\\AccessToken\\Verify' => 'AmeliaVendor_Google_AccessToken_Verify', |
| 14 | 'AmeliaVendor\\Google\\Model' => 'AmeliaVendor_Google_Model', |
| 15 | 'AmeliaVendor\\Google\\Utils\\UriTemplate' => 'AmeliaVendor_Google_Utils_UriTemplate', |
| 16 | 'AmeliaVendor\\Google\\AuthHandler\\Guzzle6AuthHandler' => 'AmeliaVendor_Google_AuthHandler_Guzzle6AuthHandler', |
| 17 | 'AmeliaVendor\\Google\\AuthHandler\\Guzzle7AuthHandler' => 'AmeliaVendor_Google_AuthHandler_Guzzle7AuthHandler', |
| 18 | 'AmeliaVendor\\Google\\AuthHandler\\AuthHandlerFactory' => 'AmeliaVendor_Google_AuthHandler_AuthHandlerFactory', |
| 19 | 'AmeliaVendor\\Google\\Http\\Batch' => 'AmeliaVendor_Google_Http_Batch', |
| 20 | 'AmeliaVendor\\Google\\Http\\MediaFileUpload' => 'AmeliaVendor_Google_Http_MediaFileUpload', |
| 21 | 'AmeliaVendor\\Google\\Http\\REST' => 'AmeliaVendor_Google_Http_REST', |
| 22 | 'AmeliaVendor\\Google\\Task\\Retryable' => 'Google_Task_Retryable', |
| 23 | 'AmeliaVendor\\Google\\Task\\Exception' => 'AmeliaVendor_Google_Task_Exception', |
| 24 | 'AmeliaVendor\\Google\\Task\\Runner' => 'AmeliaVendor_Google_Task_Runner', |
| 25 | 'AmeliaVendor\\Google\\Collection' => 'AmeliaVendor_Google_Collection', |
| 26 | 'AmeliaVendor\\Google\\Service\\Exception' => 'AmeliaVendor_Google_Service_Exception', |
| 27 | 'AmeliaVendor\\Google\\Service\\Resource' => 'AmeliaVendor_Google_Service_Resource', |
| 28 | 'AmeliaVendor\\Google\\Exception' => 'AmeliaVendor_Google_Exception', |
| 29 | ]; |
| 30 | |
| 31 | foreach ($classMap as $class => $alias) { |
| 32 | class_alias($class, $alias); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * This class needs to be defined explicitly as scripts must be recognized by |
| 37 | * the autoloader. |
| 38 | */ |
| 39 | class AmeliaVendor_Google_Task_Composer extends \AmeliaVendor\Google\Task\Composer |
| 40 | { |
| 41 | } |
| 42 | |
| 43 | /** @phpstan-ignore-next-line */ |
| 44 | if (\false) { |
| 45 | class AmeliaVendor_Google_AccessToken_Revoke extends \AmeliaVendor\Google\AccessToken\Revoke |
| 46 | { |
| 47 | } |
| 48 | class AmeliaVendor_Google_AccessToken_Verify extends \AmeliaVendor\Google\AccessToken\Verify |
| 49 | { |
| 50 | } |
| 51 | class AmeliaVendor_Google_AuthHandler_AuthHandlerFactory extends \AmeliaVendor\Google\AuthHandler\AuthHandlerFactory |
| 52 | { |
| 53 | } |
| 54 | class AmeliaVendor_Google_AuthHandler_Guzzle6AuthHandler extends \AmeliaVendor\Google\AuthHandler\Guzzle6AuthHandler |
| 55 | { |
| 56 | } |
| 57 | class AmeliaVendor_Google_AuthHandler_Guzzle7AuthHandler extends \AmeliaVendor\Google\AuthHandler\Guzzle7AuthHandler |
| 58 | { |
| 59 | } |
| 60 | class AmeliaVendor_Google_Client extends \AmeliaVendor\Google\Client |
| 61 | { |
| 62 | } |
| 63 | class AmeliaVendor_Google_Collection extends \AmeliaVendor\Google\Collection |
| 64 | { |
| 65 | } |
| 66 | class AmeliaVendor_Google_Exception extends \AmeliaVendor\Google\Exception |
| 67 | { |
| 68 | } |
| 69 | class AmeliaVendor_Google_Http_Batch extends \AmeliaVendor\Google\Http\Batch |
| 70 | { |
| 71 | } |
| 72 | class AmeliaVendor_Google_Http_MediaFileUpload extends \AmeliaVendor\Google\Http\MediaFileUpload |
| 73 | { |
| 74 | } |
| 75 | class AmeliaVendor_Google_Http_REST extends \AmeliaVendor\Google\Http\REST |
| 76 | { |
| 77 | } |
| 78 | class AmeliaVendor_Google_Model extends \AmeliaVendor\Google\Model |
| 79 | { |
| 80 | } |
| 81 | class AmeliaVendor_Google_Service extends \AmeliaVendor\Google\Service |
| 82 | { |
| 83 | } |
| 84 | class AmeliaVendor_Google_Service_Exception extends \AmeliaVendor\Google\Service\Exception |
| 85 | { |
| 86 | } |
| 87 | class AmeliaVendor_Google_Service_Resource extends \AmeliaVendor\Google\Service\Resource |
| 88 | { |
| 89 | } |
| 90 | class AmeliaVendor_Google_Task_Exception extends \AmeliaVendor\Google\Task\Exception |
| 91 | { |
| 92 | } |
| 93 | interface Google_Task_Retryable extends \AmeliaVendor\Google\Task\Retryable |
| 94 | { |
| 95 | } |
| 96 | class AmeliaVendor_Google_Task_Runner extends \AmeliaVendor\Google\Task\Runner |
| 97 | { |
| 98 | } |
| 99 | class AmeliaVendor_Google_Utils_UriTemplate extends \AmeliaVendor\Google\Utils\UriTemplate |
| 100 | { |
| 101 | } |
| 102 | } |
| 103 |