Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SessionBagProxy.php

function SessionBagProxy::initialize

Overrides SessionBagInterface::initialize

File

vendor/symfony/http-foundation/Session/SessionBagProxy.php, line 65

Class

SessionBagProxy
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function initialize(array &$array) : void {
    ++$this->usageIndex;
    if ($this->usageReporter && 0 <= $this->usageIndex) {
        ($this->usageReporter)();
    }
    $this->data[$this->bag
        ->getStorageKey()] =& $array;
    $this->bag
        ->initialize($array);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal