Webmozart\Console\Api\Formatter\Formatter::removeFormat PHP Method

removeFormat() public method

Removes the format tags from the given string.
public removeFormat ( string $string ) : string
$string string The string to remove the format tags from.
return string The string without format tags.
    public function removeFormat($string);

Usage Example

Example #1
0
 /**
  * {@inheritdoc}
  */
 public function format($message)
 {
     if ($this->decorated) {
         return $this->adaptedFormatter->format($message);
     }
     return $this->adaptedFormatter->removeFormat($message);
 }
All Usage Examples Of Webmozart\Console\Api\Formatter\Formatter::removeFormat