[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * This file is part of the Symfony package. 4 * 5 * (c) Fabien Potencier <[email protected]> 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 <[email protected]> 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 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |