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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
OutputFormatterStyleInterface.php
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 $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 * @param array $options
53 */
54 public function setOptions(array $options);
55
56 /**
57 * Applies the style to a given text.
58 *
59 * @param string $text The text to style
60 *
61 * @return string
62 */
63 public function apply($text);
64 }
65