__construct() public method

Constructor
public __construct ( array $userProviders, string $key, string $providerKey, array $options = [], Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$userProviders array
$key string
$providerKey string
$options array
$logger Symfony\Component\HttpKernel\Log\LoggerInterface
 /**
  * Constructor.
  *
  * Note: The $secureRandom parameter is deprecated since version 2.8 and will be removed in 3.0.
  *
  * @param array                 $userProviders
  * @param string                $secret
  * @param string                $providerKey
  * @param array                 $options
  * @param LoggerInterface       $logger
  * @param SecureRandomInterface $secureRandom
  */
 public function __construct(array $userProviders, $secret, $providerKey, array $options = array(), LoggerInterface $logger = null, SecureRandomInterface $secureRandom = null)
 {
     if (null !== $secureRandom) {
         @trigger_error('The $secureRandom parameter in ' . __METHOD__ . ' is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
     }
     parent::__construct($userProviders, $secret, $providerKey, $options, $logger);
 }
 /**
  * Constructor.
  *
  * @param array                 $userProviders
  * @param string                $key
  * @param string                $providerKey
  * @param array                 $options
  * @param LoggerInterface       $logger
  * @param SecureRandomInterface $secureRandom
  */
 public function __construct(array $userProviders, $key, $providerKey, array $options = array(), LoggerInterface $logger = null, SecureRandomInterface $secureRandom)
 {
     parent::__construct($userProviders, $key, $providerKey, $options, $logger);
     $this->secureRandom = $secureRandom;
 }