Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

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

EsiResponseCacheStrategyInterface.php

Zuletzt modifiziert: 09.10.2024, 12:58 - Dateigröße: 1.07 KiB


01  <?php
02   
03  /*
04   * This file is part of the Symfony package.
05   *
06   * (c) Fabien Potencier <fabien@symfony.com>
07   *
08   * This code is partially based on the Rack-Cache library by Ryan Tomayko,
09   * which is released under the MIT license.
10   * (based on commit 02d2b48d75bcb63cf1c0c7149c077ad256542801)
11   *
12   * For the full copyright and license information, please view the LICENSE
13   * file that was distributed with this source code.
14   */
15   
16  namespace Symfony\Component\HttpKernel\HttpCache;
17   
18  use Symfony\Component\HttpFoundation\Response;
19   
20  /**
21   * EsiResponseCacheStrategyInterface implementations know how to compute the
22   * Response cache HTTP header based on the different ESI response cache headers.
23   *
24   * @author Fabien Potencier <fabien@symfony.com>
25   */
26  interface EsiResponseCacheStrategyInterface
27  {
28      /**
29       * Adds a Response.
30       *
31       * @param Response $response
32       */
33      public function add(Response $response);
34   
35      /**
36       * Updates the Response HTTP headers based on the embedded Responses.
37       *
38       * @param Response $response
39       */
40      public function update(Response $response);
41  }
42