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