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

OutputFormatterStyleInterface.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 1.31 KiB


01  <?php
02   
03  /*
04   * This file is part of the Symfony package.
05   *
06   * (c) Fabien Potencier <fabien@symfony.com>
07   *
08   * For the full copyright and license information, please view the LICENSE
09   * file that was distributed with this source code.
10   */
11   
12  namespace Symfony\Component\Console\Formatter;
13   
14  /**
15   * Formatter style interface for defining styles.
16   *
17   * @author Konstantin Kudryashov <ever.zet@gmail.com>
18   */
19  interface OutputFormatterStyleInterface
20  {
21      /**
22       * Sets style foreground color.
23       *
24       * @param string|null $color The color name
25       */
26      public function setForeground($color = null);
27   
28      /**
29       * Sets style background color.
30       *
31       * @param string $color The color name
32       */
33      public function setBackground($color = null);
34   
35      /**
36       * Sets some specific style option.
37       *
38       * @param string $option The option name
39       */
40      public function setOption($option);
41   
42      /**
43       * Unsets some specific style option.
44       *
45       * @param string $option The option name
46       */
47      public function unsetOption($option);
48   
49      /**
50       * Sets multiple style options at once.
51       */
52      public function setOptions(array $options);
53   
54      /**
55       * Applies the style to a given text.
56       *
57       * @param string $text The text to style
58       *
59       * @return string
60       */
61      public function apply($text);
62  }
63