Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

NullSessionHandler.php

Zuletzt modifiziert: 02.04.2025, 15:04 - Dateigröße: 1.27 KiB


01  <?php
02   
03  /*
04   * This file is part of the Symfony package.
05   *
06   * (c) Fabien Potencier <fabien@symfony.com>
07   *
08   * For the full copyright and license information, please view the LICENSE
09   * file that was distributed with this source code.
10   */
11   
12  namespace Symfony\Component\HttpFoundation\Session\Storage\Handler;
13   
14  /**
15   * Can be used in unit testing or in a situations where persisted sessions are not desired.
16   *
17   * @author Drak <drak@zikula.org>
18   */
19  class NullSessionHandler extends AbstractSessionHandler
20  {
21      /**
22       * {@inheritdoc}
23       */
24      public function close()
25      {
26          return true;
27      }
28   
29      /**
30       * {@inheritdoc}
31       */
32      public function validateId($sessionId)
33      {
34          return true;
35      }
36   
37      /**
38       * {@inheritdoc}
39       */
40      protected function doRead($sessionId)
41      {
42          return '';
43      }
44   
45      /**
46       * {@inheritdoc}
47       */
48      public function updateTimestamp($sessionId, $data)
49      {
50          return true;
51      }
52   
53      /**
54       * {@inheritdoc}
55       */
56      protected function doWrite($sessionId, $data)
57      {
58          return true;
59      }
60   
61      /**
62       * {@inheritdoc}
63       */
64      protected function doDestroy($sessionId)
65      {
66          return true;
67      }
68   
69      /**
70       * @return bool
71       */
72      public function gc($maxlifetime)
73      {
74          return true;
75      }
76  }
77