generateSessionName example

    $this->rootUser = new UserSession([
      'uid' => 1,
      'name' => 'admin',
      'mail' => 'admin@example.com',
      'pass_raw' => $password,
      'passRaw' => $password,
      'timezone' => date_default_timezone_get(),
    ]);

    // The child site derives its session name from the database prefix when     // running web tests.     $this->generateSessionName($this->databasePrefix);
  }

  /** * Initializes the kernel after installation. * * @param \Symfony\Component\HttpFoundation\Request $request * Request object. * * @return \Symfony\Component\DependencyInjection\ContainerInterface * The container. */
  
Home | Imprint | This part of the site doesn't use cookies.