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

KernelEvents.php

Zuletzt modifiziert: 02.04.2025, 15:02 - Dateigröße: 3.07 KiB


001  <?php
002   
003  /*
004   * This file is part of the Symfony package.
005   *
006   * (c) Fabien Potencier <fabien@symfony.com>
007   *
008   * For the full copyright and license information, please view the LICENSE
009   * file that was distributed with this source code.
010   */
011   
012  namespace Symfony\Component\HttpKernel;
013   
014  /**
015   * Contains all events thrown in the HttpKernel component.
016   *
017   * @author Bernhard Schussek <bschussek@gmail.com>
018   */
019  final class KernelEvents
020  {
021      /**
022       * The REQUEST event occurs at the very beginning of request
023       * dispatching.
024       *
025       * This event allows you to create a response for a request before any
026       * other code in the framework is executed.
027       *
028       * @Event("Symfony\Component\HttpKernel\Event\GetResponseEvent")
029       */
030      const REQUEST = 'kernel.request';
031   
032      /**
033       * The EXCEPTION event occurs when an uncaught exception appears.
034       *
035       * This event allows you to create a response for a thrown exception or
036       * to modify the thrown exception.
037       *
038       * @Event("Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent")
039       */
040      const EXCEPTION = 'kernel.exception';
041   
042      /**
043       * The VIEW event occurs when the return value of a controller
044       * is not a Response instance.
045       *
046       * This event allows you to create a response for the return value of the
047       * controller.
048       *
049       * @Event("Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent")
050       */
051      const VIEW = 'kernel.view';
052   
053      /**
054       * The CONTROLLER event occurs once a controller was found for
055       * handling a request.
056       *
057       * This event allows you to change the controller that will handle the
058       * request.
059       *
060       * @Event("Symfony\Component\HttpKernel\Event\FilterControllerEvent")
061       */
062      const CONTROLLER = 'kernel.controller';
063   
064      /**
065       * The CONTROLLER_ARGUMENTS event occurs once controller arguments have been resolved.
066       *
067       * This event allows you to change the arguments that will be passed to
068       * the controller.
069       *
070       * @Event("Symfony\Component\HttpKernel\Event\FilterControllerArgumentsEvent")
071       */
072      const CONTROLLER_ARGUMENTS = 'kernel.controller_arguments';
073   
074      /**
075       * The RESPONSE event occurs once a response was created for
076       * replying to a request.
077       *
078       * This event allows you to modify or replace the response that will be
079       * replied.
080       *
081       * @Event("Symfony\Component\HttpKernel\Event\FilterResponseEvent")
082       */
083      const RESPONSE = 'kernel.response';
084   
085      /**
086       * The TERMINATE event occurs once a response was sent.
087       *
088       * This event allows you to run expensive post-response jobs.
089       *
090       * @Event("Symfony\Component\HttpKernel\Event\PostResponseEvent")
091       */
092      const TERMINATE = 'kernel.terminate';
093   
094      /**
095       * The FINISH_REQUEST event occurs when a response was generated for a request.
096       *
097       * This event allows you to reset the global and environmental state of
098       * the application, when it was changed during the request.
099       *
100       * @Event("Symfony\Component\HttpKernel\Event\FinishRequestEvent")
101       */
102      const FINISH_REQUEST = 'kernel.finish_request';
103  }
104