PHP Class KnpU\OAuth2ClientBundle\DependencyInjection\ProviderFactory

You won't need to use this directly.
Datei anzeigen Open project: knpuniversity/oauth2-client-bundle

Public Methods

Method Description
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $generator ) ProviderFactory constructor.
createProvider ( string $class, array $options, string $redirectUri, array $redirectParams = [] ) : mixed Creates a provider of the given class.

Method Details

__construct() public method

ProviderFactory constructor.
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $generator )
$generator Symfony\Component\Routing\Generator\UrlGeneratorInterface

createProvider() public method

Creates a provider of the given class.
public createProvider ( string $class, array $options, string $redirectUri, array $redirectParams = [] ) : mixed
$class string
$options array
$redirectUri string
$redirectParams array
return mixed