PHP Класс Liip\RMT\Output\Output

Наследование: extends Symfony\Component\Console\Output\ConsoleOutput
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$dialogHelper Symfony\Component\Console\Helper\DialogHelper | Symfony\Component\Console\Helper\QuestionHelper
$formatterHelper Symfony\Component\Console\Helper\FormatterHelper
$indentationLevel
$indentationSize
$positionIsALineStart

Открытые методы

Метод Описание
__construct ( $verbosity = self::VERBOSITY_NORMAL, $decorated = null, Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null )
askConfirmation ( $text, Symfony\Component\Console\Input\InputInterface $input = null ) when we drop symfony 2.3 support, we should switch to the QuestionHelper (since 2.5) and drop this method as it adds no value
askQuestion ( InteractiveQuestion $question, $position = null, Symfony\Component\Console\Input\InputInterface $input = null ) QuestionHelper does about the same as we do here.
doWrite ( $message, $newline )
indent ( $repeat = 1 )
resetIndentation ( )
setDialogHelper ( $dh )
setFormatterHelper ( $fh )
unIndent ( $repeat = 1 )
writeBigTitle ( $title )
writeEmptyLine ( $repeat = 1 )
writeSmallTitle ( $title )
writeTitle ( $title, $large = true )

Защищенные методы

Метод Описание
getIndentPadding ( )

Описание методов

__construct() публичный Метод

public __construct ( $verbosity = self::VERBOSITY_NORMAL, $decorated = null, Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null )
$formatter Symfony\Component\Console\Formatter\OutputFormatterInterface

askConfirmation() публичный Метод

when we drop symfony 2.3 support, we should switch to the QuestionHelper (since 2.5) and drop this method as it adds no value
public askConfirmation ( $text, Symfony\Component\Console\Input\InputInterface $input = null )
$input Symfony\Component\Console\Input\InputInterface

askQuestion() публичный Метод

QuestionHelper does about the same as we do here.
public askQuestion ( InteractiveQuestion $question, $position = null, Symfony\Component\Console\Input\InputInterface $input = null )
$question Liip\RMT\Information\InteractiveQuestion
$input Symfony\Component\Console\Input\InputInterface

doWrite() публичный Метод

public doWrite ( $message, $newline )

getIndentPadding() защищенный Метод

protected getIndentPadding ( )

indent() публичный Метод

public indent ( $repeat = 1 )

resetIndentation() публичный Метод

public resetIndentation ( )

setDialogHelper() публичный Метод

public setDialogHelper ( $dh )

setFormatterHelper() публичный Метод

public setFormatterHelper ( $fh )

unIndent() публичный Метод

public unIndent ( $repeat = 1 )

writeBigTitle() публичный Метод

public writeBigTitle ( $title )

writeEmptyLine() публичный Метод

public writeEmptyLine ( $repeat = 1 )

writeSmallTitle() публичный Метод

public writeSmallTitle ( $title )

writeTitle() публичный Метод

public writeTitle ( $title, $large = true )

Описание свойств

$dialogHelper защищенное свойство

protected DialogHelper,Symfony\Component\Console\Helper|QuestionHelper,Symfony\Component\Console\Helper $dialogHelper
Результат Symfony\Component\Console\Helper\DialogHelper | Symfony\Component\Console\Helper\QuestionHelper

$formatterHelper защищенное свойство

protected FormatterHelper,Symfony\Component\Console\Helper $formatterHelper
Результат Symfony\Component\Console\Helper\FormatterHelper

$indentationLevel защищенное свойство

protected $indentationLevel

$indentationSize защищенное свойство

protected $indentationSize

$positionIsALineStart защищенное свойство

protected $positionIsALineStart