PluginProbe
Depicter — Popup & Slider Builder / 1.3.2
Depicter — Popup & Slider Builder v1.3.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
depicter / vendor / symfony / console / Formatter / NullOutputFormatterStyle.php

NullOutputFormatterStyle.php in Depicter — Popup & Slider Builder 1.3.2, at vendor/symfony/console/Formatter/NullOutputFormatterStyle.php

66 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * This file is part of the Symfony package.
4 *
5 * (c) Fabien Potencier <fabien@symfony.com>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11 namespace Symfony\Component\Console\Formatter;
12
13 /**
14 * @author Tien Xuan Vo <tien.xuan.vo@gmail.com>
15 */
16 final class NullOutputFormatterStyle implements OutputFormatterStyleInterface
17 {
18 /**
19 * {@inheritdoc}
20 */
21 public function apply(string $text): string
22 {
23 return $text;
24 }
25
26 /**
27 * {@inheritdoc}
28 */
29 public function setBackground(string $color = null): void
30 {
31 // do nothing
32 }
33
34 /**
35 * {@inheritdoc}
36 */
37 public function setForeground(string $color = null): void
38 {
39 // do nothing
40 }
41
42 /**
43 * {@inheritdoc}
44 */
45 public function setOption(string $option): void
46 {
47 // do nothing
48 }
49
50 /**
51 * {@inheritdoc}
52 */
53 public function setOptions(array $options): void
54 {
55 // do nothing
56 }
57
58 /**
59 * {@inheritdoc}
60 */
61 public function unsetOption(string $option): void
62 {
63 // do nothing
64 }
65 }
66