src/Session/SessionMiddleware.php
private function setCookieParams(array $cookie_params)
    {
        $params = array_merge(session_get_cookie_params(), array_change_key_case($cookie_params));

        session_set_cookie_params(
            $params['lifetime'],
            $params['path'],
            $params['domain'],
            $params['secure'],
            $params['httponly']
        );
    }
private function setCookieParams(array $cookie_params)
    {
        $params = array_merge(session_get_cookie_params(), array_change_key_case($cookie_params));

        session_set_cookie_params(
            $params['lifetime'],
            $params['path'],
            $params['domain'],
            $params['secure'],
            $params['httponly']
        );
    }
private function setCookieParams ( array $ cookie_params ) { $ params = array_merge ( session_get_cookie_params ( ) , array_change_key_case ( $ cookie_params ) ) ; session_set_cookie_params ( $ params [ 'lifetime' ] , $ params [ 'path' ] , $ params [ 'domain' ] , $ params [ 'secure' ] , $ params [ 'httponly' ] ) ; }
Set the given session cookie params.

@param array $cookie_params
@return void
Set the given session cookie params .