You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2023. It is now read-only.
@@ -17,6 +19,9 @@ final class KernelOutput implements OutputInterface
17
19
18
20
/** @var LoggerInterface */
19
21
private$logger;
22
+
23
+
/** @var OutputFormatterInterface */
24
+
private$formatter;
20
25
21
26
/**
22
27
* KernelOutput constructor.
@@ -27,6 +32,11 @@ public function __construct(ExecuteAction $executeAction, LoggerInterface $logge
27
32
{
28
33
$this->executeAction = $executeAction;
29
34
$this->logger = $logger;
35
+
36
+
$this->formatter = newOutputFormatter();
37
+
$this->formatter->setDecorated(true);
38
+
39
+
$this->initFormatters();
30
40
}
31
41
32
42
/**
@@ -36,22 +46,36 @@ public function __construct(ExecuteAction $executeAction, LoggerInterface $logge
36
46
* @param bool $newline Whether to add a newline
37
47
* @param int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
0 commit comments