composer update, composer corelibs update, admin pages update
This commit is contained in:
21
vendor/symfony/console/Style/OutputStyle.php
vendored
21
vendor/symfony/console/Style/OutputStyle.php
vendored
@@ -30,6 +30,9 @@ abstract class OutputStyle implements OutputInterface, StyleInterface
|
||||
$this->output = $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function newLine(int $count = 1)
|
||||
{
|
||||
$this->output->write(str_repeat(\PHP_EOL, $count));
|
||||
@@ -40,16 +43,25 @@ abstract class OutputStyle implements OutputInterface, StyleInterface
|
||||
return new ProgressBar($this->output, $max);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function write(string|iterable $messages, bool $newline = false, int $type = self::OUTPUT_NORMAL)
|
||||
{
|
||||
$this->output->write($messages, $newline, $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function writeln(string|iterable $messages, int $type = self::OUTPUT_NORMAL)
|
||||
{
|
||||
$this->output->writeln($messages, $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function setVerbosity(int $level)
|
||||
{
|
||||
$this->output->setVerbosity($level);
|
||||
@@ -60,6 +72,9 @@ abstract class OutputStyle implements OutputInterface, StyleInterface
|
||||
return $this->output->getVerbosity();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function setDecorated(bool $decorated)
|
||||
{
|
||||
$this->output->setDecorated($decorated);
|
||||
@@ -70,6 +85,9 @@ abstract class OutputStyle implements OutputInterface, StyleInterface
|
||||
return $this->output->isDecorated();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function setFormatter(OutputFormatterInterface $formatter)
|
||||
{
|
||||
$this->output->setFormatter($formatter);
|
||||
@@ -100,6 +118,9 @@ abstract class OutputStyle implements OutputInterface, StyleInterface
|
||||
return $this->output->isDebug();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return OutputInterface
|
||||
*/
|
||||
protected function getErrorOutput()
|
||||
{
|
||||
if (!$this->output instanceof ConsoleOutputInterface) {
|
||||
|
||||
Reference in New Issue
Block a user