Webmozart\Console\Api\IO\Output::format PHP Method

format() public method

public format ( $string, Style $style = null )
$style Webmozart\Console\Api\Formatter\Style
    public function format($string, Style $style = null)
    {
        return $this->formatter->format($string, $style);
    }

Usage Example

Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function format($string, Style $style = null)
 {
     return $this->output->format($string, $style);
 }