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

AccessInterceptorInterface.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 1.68 KiB


01  <?php
02   
03  declare(strict_types=1);
04   
05  namespace ProxyManager\Proxy;
06   
07  /**
08   * Access interceptor object marker
09   *
10   * @author Marco Pivetta <ocramius@gmail.com>
11   * @license MIT
12   */
13  interface AccessInterceptorInterface extends ProxyInterface
14  {
15      /**
16       * Set or remove the prefix interceptor for a method
17       *
18       * @link https://github.com/Ocramius/ProxyManager/blob/master/docs/access-interceptor-value-holder.md
19       *
20       * A prefix interceptor should have a signature like following:
21       *
22       * <code>
23       * $interceptor = function ($proxy, $instance, string $method, array $params, & $returnEarly) {};
24       * </code>
25       *
26       * @param string        $methodName        name of the intercepted method
27       * @param \Closure|null $prefixInterceptor interceptor closure or null to unset the currently active interceptor
28       *
29       * @return void
30       */
31      public function setMethodPrefixInterceptor(string $methodName, \Closure $prefixInterceptor = null);
32   
33      /**
34       * Set or remove the suffix interceptor for a method
35       *
36       * @link https://github.com/Ocramius/ProxyManager/blob/master/docs/access-interceptor-value-holder.md
37       *
38       * A prefix interceptor should have a signature like following:
39       *
40       * <code>
41       * $interceptor = function ($proxy, $instance, string $method, array $params, $returnValue, & $returnEarly) {};
42       * </code>
43       *
44       * @param string        $methodName        name of the intercepted method
45       * @param \Closure|null $suffixInterceptor interceptor closure or null to unset the currently active interceptor
46       *
47       * @return void
48       */
49      public function setMethodSuffixInterceptor(string $methodName, \Closure $suffixInterceptor = null);
50  }
51