You are here

public function CartTokenSessionConfiguration::getOptions in Commerce Cart API 8

Returns a list of options suitable for passing to the session storage.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request.

Return value

array An associative array of session ini settings.

Overrides SessionConfigurationInterface::getOptions

See also

\Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::__construct()

File

src/Session/CartTokenSessionConfiguration.php, line 44

Class

CartTokenSessionConfiguration
Decorates SessionConfiguration to support cart tokens.

Namespace

Drupal\commerce_cart_api\Session

Code

public function getOptions(Request $request) {
  return $this->decorated
    ->getOptions($request);
}