src/Connection/StreamConnection.php
protected function assertSslSupport(ParametersInterface $parameters)
    {
        if (
            filter_var($parameters->persistent, FILTER_VALIDATE_BOOLEAN) &&
            version_compare(PHP_VERSION, '7.0.0beta') < 0
        ) {
            throw new \InvalidArgumentException('Persistent SSL connections require PHP >= 7.0.0.');
        }
    }
protected function assertSslSupport(ParametersInterface $parameters)
    {
        if (
            filter_var($parameters->persistent, FILTER_VALIDATE_BOOLEAN) &&
            version_compare(PHP_VERSION, '7.0.0beta') < 0
        ) {
            throw new \InvalidArgumentException('Persistent SSL connections require PHP >= 7.0.0.');
        }
    }
protected function assertSslSupport ( ParametersInterface $ parameters ) { if ( filter_var ( $ parameters -> persistent , FILTER_VALIDATE_BOOLEAN ) && version_compare ( PHP_VERSION , '7.0.0beta' ) < 0 ) { throw new \ InvalidArgumentException ( 'Persistent SSL connections require PHP >= 7.0.0.' ) ; } }
Checks needed conditions for SSL-encrypted connections.

@param ParametersInterface $parameters Initialization parameters for the connection.

@throws \InvalidArgumentException
Checks needed conditions for SSL - encrypted connections .