kawax/laravel-google-sheets

View on GitHub
lib/google/Facades/Google.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Revolution\Google\Client\Facades;

use Illuminate\Support\Facades\Facade;
use Psr\Cache\CacheItemPoolInterface;
use Revolution\Google\Client\GoogleApiClient;

/**
 * @method static mixed make(string $service)
 * @method static void setAccessToken(array|string $token)
 * @method static bool isAccessTokenExpired()
 * @method static void fetchAccessTokenWithRefreshToken(?string $refreshToken = null)
 * @method static CacheItemPoolInterface getCache()
 *
 * @see GoogleApiClient
 */
class Google extends Facade
{
    /**
     * Get the registered name of the component.
     */
    protected static function getFacadeAccessor(): string
    {
        return 'google-client';
    }
}