PHP Class Liip\RMT\Output\Output

Inheritance: extends Symfony\Component\Console\Output\ConsoleOutput
Datei anzeigen Open project: liip/rmt Class Usage Examples

Protected Properties

Property Type Description
$dialogHelper Symfony\Component\Console\Helper\DialogHelper | Symfony\Component\Console\Helper\QuestionHelper
$formatterHelper Symfony\Component\Console\Helper\FormatterHelper
$indentationLevel
$indentationSize
$positionIsALineStart

Public Methods

Method Description
__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 )

Protected Methods

Method Description
getIndentPadding ( )

Method Details

__construct() public method

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

askConfirmation() public method

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() public method

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 method

public doWrite ( $message, $newline )

getIndentPadding() protected method

protected getIndentPadding ( )

indent() public method

public indent ( $repeat = 1 )

resetIndentation() public method

public resetIndentation ( )

setDialogHelper() public method

public setDialogHelper ( $dh )

setFormatterHelper() public method

public setFormatterHelper ( $fh )

unIndent() public method

public unIndent ( $repeat = 1 )

writeBigTitle() public method

public writeBigTitle ( $title )

writeEmptyLine() public method

public writeEmptyLine ( $repeat = 1 )

writeSmallTitle() public method

public writeSmallTitle ( $title )

writeTitle() public method

public writeTitle ( $title, $large = true )

Property Details

$dialogHelper protected_oe property

protected DialogHelper,Symfony\Component\Console\Helper|QuestionHelper,Symfony\Component\Console\Helper $dialogHelper
return Symfony\Component\Console\Helper\DialogHelper | Symfony\Component\Console\Helper\QuestionHelper

$formatterHelper protected_oe property

protected FormatterHelper,Symfony\Component\Console\Helper $formatterHelper
return Symfony\Component\Console\Helper\FormatterHelper

$indentationLevel protected_oe property

protected $indentationLevel

$indentationSize protected_oe property

protected $indentationSize

$positionIsALineStart protected_oe property

protected $positionIsALineStart