You are here

public function Session::replace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::replace()

Sets attributes.

Parameters

array $attributes Attributes:

Overrides SessionInterface::replace

File

vendor/symfony/http-foundation/Session/Session.php, line 109

Class

Session
Session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

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