assertParameters() abstract protected méthode

Checks some of the parameters used to initialize the connection.
abstract protected assertParameters ( Predis\Connection\ParametersInterface $parameters ) : Predis\Connection\ParametersInterface
$parameters Predis\Connection\ParametersInterface Initialization parameters for the connection.
Résultat Predis\Connection\ParametersInterface
 /**
  * {@inheritdoc}
  */
 protected function assertParameters(ParametersInterface $parameters)
 {
     if (isset($parameters->persistent)) {
         throw new NotSupportedException("Persistent connections are not supported by this connection backend.");
     }
     return parent::assertParameters($parameters);
 }