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

MethodPrefixInterceptors.php

Zuletzt modifiziert: 02.04.2025, 15:04 - Dateigröße: 888.00 Bytes


01  <?php
02   
03  declare(strict_types=1);
04   
05  namespace ProxyManager\ProxyGenerator\AccessInterceptor\PropertyGenerator;
06   
07  use ProxyManager\Generator\Util\IdentifierSuffixer;
08  use Zend\Code\Generator\PropertyGenerator;
09   
10  /**
11   * Property that contains the interceptor for operations to be executed before method execution
12   *
13   * @author Marco Pivetta <ocramius@gmail.com>
14   * @license MIT
15   */
16  class MethodPrefixInterceptors extends PropertyGenerator
17  {
18      /**
19       * Constructor
20       *
21       * @throws \Zend\Code\Generator\Exception\InvalidArgumentException
22       */
23      public function __construct()
24      {
25          parent::__construct(IdentifierSuffixer::getIdentifier('methodPrefixInterceptors'));
26   
27          $this->setDefaultValue([]);
28          $this->setVisibility(self::VISIBILITY_PRIVATE);
29          $this->setDocBlock('@var \\Closure[] map of interceptors to be called per-method before execution');
30      }
31  }
32