Symfony\Component\Console\Formatter\OutputFormatter::setDecorated PHP Метод

setDecorated() публичный Метод

Sets the decorated flag.
public setDecorated ( boolean $decorated )
$decorated boolean Whether to decorate the messages or not
    public function setDecorated($decorated)
    {
        $this->decorated = (bool) $decorated;
    }

Usage Example

Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function removeFormat($string)
 {
     $this->innerFormatter->setDecorated(false);
     $formatted = $this->innerFormatter->format($string);
     $this->innerFormatter->setDecorated(true);
     return $formatted;
 }
All Usage Examples Of Symfony\Component\Console\Formatter\OutputFormatter::setDecorated