Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

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:58 - Dateigröße: 2.79 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   * @api
020   */
021  final class KernelEvents
022  {
023      /**
024       * The REQUEST event occurs at the very beginning of request
025       * dispatching
026       *
027       * This event allows you to create a response for a request before any
028       * other code in the framework is executed. The event listener method
029       * receives a Symfony\Component\HttpKernel\Event\GetResponseEvent
030       * instance.
031       *
032       * @var string
033       *
034       * @api
035       */
036      const REQUEST = 'kernel.request';
037   
038      /**
039       * The EXCEPTION event occurs when an uncaught exception appears
040       *
041       * This event allows you to create a response for a thrown exception or
042       * to modify the thrown exception. The event listener method receives
043       * a Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent
044       * instance.
045       *
046       * @var string
047       *
048       * @api
049       */
050      const EXCEPTION = 'kernel.exception';
051   
052      /**
053       * The VIEW event occurs when the return value of a controller
054       * is not a Response instance
055       *
056       * This event allows you to create a response for the return value of the
057       * controller. The event listener method receives a
058       * Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent
059       * instance.
060       *
061       * @var string
062       *
063       * @api
064       */
065      const VIEW = 'kernel.view';
066   
067      /**
068       * The CONTROLLER event occurs once a controller was found for
069       * handling a request
070       *
071       * This event allows you to change the controller that will handle the
072       * request. The event listener method receives a
073       * Symfony\Component\HttpKernel\Event\FilterControllerEvent instance.
074       *
075       * @var string
076       *
077       * @api
078       */
079      const CONTROLLER = 'kernel.controller';
080   
081      /**
082       * The RESPONSE event occurs once a response was created for
083       * replying to a request
084       *
085       * This event allows you to modify or replace the response that will be
086       * replied. The event listener method receives a
087       * Symfony\Component\HttpKernel\Event\FilterResponseEvent instance.
088       *
089       * @var string
090       *
091       * @api
092       */
093      const RESPONSE = 'kernel.response';
094   
095      /**
096       * The TERMINATE event occurs once a response was sent
097       *
098       * This event allows you to run expensive post-response jobs.
099       * The event listener method receives a
100       * Symfony\Component\HttpKernel\Event\PostResponseEvent instance.
101       *
102       * @var string
103       */
104      const TERMINATE = 'kernel.terminate';
105  }
106