| @@ 101-108 (lines=8) @@ | ||
| 98 | /** |
|
| 99 | * @inheritdoc |
|
| 100 | */ |
|
| 101 | public function writeInfo(string $message, int $verbosity = self::VERBOSITY_NORMAL): IoInterface |
|
| 102 | { |
|
| 103 | $isNewLine = false; |
|
| 104 | $options = $this->convertVerbosityLevel($verbosity); |
|
| 105 | $this->getOutput()->write("<info>$message</info>", $isNewLine, $options); |
|
| 106 | ||
| 107 | return $this; |
|
| 108 | } |
|
| 109 | ||
| 110 | /** |
|
| 111 | * @inheritdoc |
|
| @@ 113-120 (lines=8) @@ | ||
| 110 | /** |
|
| 111 | * @inheritdoc |
|
| 112 | */ |
|
| 113 | public function writeWarning(string $message, int $verbosity = self::VERBOSITY_NORMAL): IoInterface |
|
| 114 | { |
|
| 115 | $isNewLine = false; |
|
| 116 | $options = $this->convertVerbosityLevel($verbosity); |
|
| 117 | $this->getOutput()->write("<comment>$message</comment>", $isNewLine, $options); |
|
| 118 | ||
| 119 | return $this; |
|
| 120 | } |
|
| 121 | ||
| 122 | /** |
|
| 123 | * @inheritdoc |
|
| @@ 125-132 (lines=8) @@ | ||
| 122 | /** |
|
| 123 | * @inheritdoc |
|
| 124 | */ |
|
| 125 | public function writeError(string $message, int $verbosity = self::VERBOSITY_NORMAL): IoInterface |
|
| 126 | { |
|
| 127 | $isNewLine = false; |
|
| 128 | $options = $this->convertVerbosityLevel($verbosity); |
|
| 129 | $this->getOutput()->write("<error>$message</error>", $isNewLine, $options); |
|
| 130 | ||
| 131 | return $this; |
|
| 132 | } |
|
| 133 | ||
| 134 | /** |
|
| 135 | * @return OutputInterface |
|