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

KernelEvents.php

Zuletzt modifiziert: 09.10.2024, 12:54 - Dateigröße: 3.27 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. The event listener method
 027       * receives a Symfony\Component\HttpKernel\Event\GetResponseEvent
 028       * instance.
 029       *
 030       * @Event
 031       *
 032       * @var string
 033       */
 034      const REQUEST = 'kernel.request';
 035   
 036      /**
 037       * The EXCEPTION event occurs when an uncaught exception appears.
 038       *
 039       * This event allows you to create a response for a thrown exception or
 040       * to modify the thrown exception. The event listener method receives
 041       * a Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent
 042       * instance.
 043       *
 044       * @Event
 045       *
 046       * @var string
 047       */
 048      const EXCEPTION = 'kernel.exception';
 049   
 050      /**
 051       * The VIEW event occurs when the return value of a controller
 052       * is not a Response instance.
 053       *
 054       * This event allows you to create a response for the return value of the
 055       * controller. The event listener method receives a
 056       * Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent
 057       * instance.
 058       *
 059       * @Event
 060       *
 061       * @var string
 062       */
 063      const VIEW = 'kernel.view';
 064   
 065      /**
 066       * The CONTROLLER event occurs once a controller was found for
 067       * handling a request.
 068       *
 069       * This event allows you to change the controller that will handle the
 070       * request. The event listener method receives a
 071       * Symfony\Component\HttpKernel\Event\FilterControllerEvent instance.
 072       *
 073       * @Event
 074       *
 075       * @var string
 076       */
 077      const CONTROLLER = 'kernel.controller';
 078   
 079      /**
 080       * The RESPONSE event occurs once a response was created for
 081       * replying to a request.
 082       *
 083       * This event allows you to modify or replace the response that will be
 084       * replied. The event listener method receives a
 085       * Symfony\Component\HttpKernel\Event\FilterResponseEvent instance.
 086       *
 087       * @Event
 088       *
 089       * @var string
 090       */
 091      const RESPONSE = 'kernel.response';
 092   
 093      /**
 094       * The TERMINATE event occurs once a response was sent.
 095       *
 096       * This event allows you to run expensive post-response jobs.
 097       * The event listener method receives a
 098       * Symfony\Component\HttpKernel\Event\PostResponseEvent instance.
 099       *
 100       * @Event
 101       *
 102       * @var string
 103       */
 104      const TERMINATE = 'kernel.terminate';
 105   
 106      /**
 107       * The FINISH_REQUEST event occurs when a response was generated for a request.
 108       *
 109       * This event allows you to reset the global and environmental state of
 110       * the application, when it was changed during the request.
 111       * The event listener method receives a
 112       * Symfony\Component\HttpKernel\Event\FinishRequestEvent instance.
 113       *
 114       * @Event
 115       *
 116       * @var string
 117       */
 118      const FINISH_REQUEST = 'kernel.finish_request';
 119  }
 120