return self::
$formatters[$name] ?? null;
} private function display(): void
{ if (OutputInterface::VERBOSITY_QUIET ===
$this->output->
getVerbosity()) { return;
} $this->
overwrite(preg_replace_callback("{%([a-z\-_]+)(?:\:([^%]+))?%}i",
function D
$matches) { if ($formatter = self::
getPlaceholderFormatterDefinition($matches[1
])) { return $formatter($this);
} return $matches[0
];
},
$this->format ?? ''
));
} private function determineBestFormat(): string
{ return match ($this->output->
getVerbosity()) { // OutputInterface::VERBOSITY_QUIET: display is disabled anyway