for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the wannanbigpig/alipay-sdk-php.
*
* (c) wannanbigpig <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyAlipay\BaseService;
use EasyAlipay\Kernel\ServiceContainer;
/**
* Class Application
* @author liuml <[email protected]>
* @DateTime 2019-07-18 16:13
* @method mixed getAccessToken(string $code, string $grantType = 'authorization_code')
* @method mixed getAuthorizationUrl(string $redirectUri, string $scope = 'auth_base', string $state = null)
* @method mixed getUserInfo(string $authToken)
* @method mixed loginAuthorization(string $state, string $scopes = 'auth_base', string $returnUrl = null)
* @method mixed certifyInitialize(array $params)
* @method mixed certifyStart(string $certifyId)
* @method mixed getCertifyStatus(string $certifyId)
class Application extends ServiceContainer
{
* @var array
protected $providers = [
'auth' => Auth\Client::class,
'user' => User\Client::class,
];
* __call.
* @param $name
* @param $arguments
* @return mixed
public function __call($name, $arguments)
return call_user_func_array([$this['base'], $name], $arguments);
}