PHP Class EasyWeChat\Foundation\ServiceProviders\OAuthServiceProvider

Inheritance: implements Pimple\ServiceProviderInterface
Datei anzeigen Open project: overtrue/wechat

Public Methods

Method Description
register ( Pimple\Container $pimple ) Registers services on the given container.

Private Methods

Method Description
prepareCallbackUrl ( Pimple\Container $pimple ) : string Prepare the OAuth callback url for wechat.

Method Details

register() public method

This method should only be used to configure services and parameters. It should not get services.
public register ( Pimple\Container $pimple )
$pimple Pimple\Container A container instance