Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

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

ProfilerStorageInterface.php

Zuletzt modifiziert: 09.10.2024, 12:56 - Dateigröße: 1.48 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\HttpKernel\Profiler;
13   
14  /**
15   * ProfilerStorageInterface.
16   *
17   * @author Fabien Potencier <fabien@symfony.com>
18   */
19  interface ProfilerStorageInterface
20  {
21      /**
22       * Finds profiler tokens for the given criteria.
23       *
24       * @param string   $ip     The IP
25       * @param string   $url    The URL
26       * @param string   $limit  The maximum number of tokens to return
27       * @param string   $method The request method
28       * @param int|null $start  The start date to search from
29       * @param int|null $end    The end date to search to
30       *
31       * @return array An array of tokens
32       */
33      public function find($ip, $url, $limit, $method, $start = null, $end = null);
34   
35      /**
36       * Reads data associated with the given token.
37       *
38       * The method returns false if the token does not exist in the storage.
39       *
40       * @param string $token A token
41       *
42       * @return Profile The profile associated with token
43       */
44      public function read($token);
45   
46      /**
47       * Saves a Profile.
48       *
49       * @param Profile $profile A Profile instance
50       *
51       * @return bool Write operation successful
52       */
53      public function write(Profile $profile);
54   
55      /**
56       * Purges all data from the database.
57       */
58      public function purge();
59  }
60