Get params cookie_domain I would like to retrieve the parameter cookie_domain set in the services.yml like this:

parameters:
  session.storage.options:
    cookie_domain: '.domain.ext'


I try this:

(new SessionConfiguration())-&gt;getOptions(\Drupal::request());


This recovers the default value not my value
You can get the cookie domain this way using the session_configuration service.   

$sessionConfig =\Drupal::service('session_configuration');
// Get the current request.
$request = \Drupal::request();
// Get options from the request.
$options = $sessionConfig-&gt;getOptions($request);
$cookie_domain = $options['cookie_domain'];