public function createProvider($class, array $options, $redirectUri, array $redirectParams = [], array $collaborators = [])
    {
        $redirectUri = $this->generator
            ->generate($redirectUri, $redirectParams, UrlGeneratorInterface::ABSOLUTE_URL);

        $options['redirectUri'] = $redirectUri;

        return new $class($options, $collaborators);
    }
public function createProvider($class, array $options, $redirectUri, array $redirectParams = [], array $collaborators = [])
    {
        $redirectUri = $this->generator
            ->generate($redirectUri, $redirectParams, UrlGeneratorInterface::ABSOLUTE_URL);

        $options['redirectUri'] = $redirectUri;

        return new $class($options, $collaborators);
    }
public function createProvider ( $ class , array $ options , $ redirectUri , array $ redirectParams = [ ] , array $ collaborators = [ ] ) { $ redirectUri = $ this -> generator -> generate ( $ redirectUri , $ redirectParams , UrlGeneratorInterface :: ABSOLUTE_URL ) ; $ options [ 'redirectUri' ] = $ redirectUri ; return new $ class ( $ options , $ collaborators ) ; }
Creates a provider of the given class.

@param string $class
@param array $options
@param string $redirectUri
@param array $redirectParams
@param array $collaborators
@return mixed
Creates a provider of the given class .