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

OutputInterface.php

Zuletzt modifiziert: 09.10.2024, 12:58 - Dateigröße: 2.83 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\Console\Output;
 013   
 014  use Symfony\Component\Console\Formatter\OutputFormatterInterface;
 015   
 016  /**
 017   * OutputInterface is the interface implemented by all Output classes.
 018   *
 019   * @author Fabien Potencier <fabien@symfony.com>
 020   *
 021   * @api
 022   */
 023  interface OutputInterface
 024  {
 025      const VERBOSITY_QUIET        = 0;
 026      const VERBOSITY_NORMAL       = 1;
 027      const VERBOSITY_VERBOSE      = 2;
 028      const VERBOSITY_VERY_VERBOSE = 3;
 029      const VERBOSITY_DEBUG        = 4;
 030   
 031      const OUTPUT_NORMAL = 0;
 032      const OUTPUT_RAW    = 1;
 033      const OUTPUT_PLAIN  = 2;
 034   
 035      /**
 036       * Writes a message to the output.
 037       *
 038       * @param string|array $messages The message as an array of lines or a single string
 039       * @param bool         $newline  Whether to add a newline
 040       * @param int          $type     The type of output (one of the OUTPUT constants)
 041       *
 042       * @throws \InvalidArgumentException When unknown output type is given
 043       *
 044       * @api
 045       */
 046      public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL);
 047   
 048      /**
 049       * Writes a message to the output and adds a newline at the end.
 050       *
 051       * @param string|array $messages The message as an array of lines of a single string
 052       * @param int          $type     The type of output (one of the OUTPUT constants)
 053       *
 054       * @throws \InvalidArgumentException When unknown output type is given
 055       *
 056       * @api
 057       */
 058      public function writeln($messages, $type = self::OUTPUT_NORMAL);
 059   
 060      /**
 061       * Sets the verbosity of the output.
 062       *
 063       * @param int     $level The level of verbosity (one of the VERBOSITY constants)
 064       *
 065       * @api
 066       */
 067      public function setVerbosity($level);
 068   
 069      /**
 070       * Gets the current verbosity of the output.
 071       *
 072       * @return int     The current level of verbosity (one of the VERBOSITY constants)
 073       *
 074       * @api
 075       */
 076      public function getVerbosity();
 077   
 078      /**
 079       * Sets the decorated flag.
 080       *
 081       * @param bool    $decorated Whether to decorate the messages
 082       *
 083       * @api
 084       */
 085      public function setDecorated($decorated);
 086   
 087      /**
 088       * Gets the decorated flag.
 089       *
 090       * @return bool    true if the output will decorate messages, false otherwise
 091       *
 092       * @api
 093       */
 094      public function isDecorated();
 095   
 096      /**
 097       * Sets output formatter.
 098       *
 099       * @param OutputFormatterInterface $formatter
 100       *
 101       * @api
 102       */
 103      public function setFormatter(OutputFormatterInterface $formatter);
 104   
 105      /**
 106       * Returns current output formatter instance.
 107       *
 108       * @return  OutputFormatterInterface
 109       *
 110       * @api
 111       */
 112      public function getFormatter();
 113  }
 114