public function Session::replace

Sets attributes.

Parameters

array $attributes Attributes:

Overrides SessionInterface::replace

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php, line 112

Class

Session
Session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function replace(array $attributes) {
  $this->storage
    ->getBag($this->attributeName)
    ->replace($attributes);
}