PHP Class Webmozart\Console\Adapter\IOOutput

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: implements Symfony\Component\Console\Output\OutputInterface
Afficher le fichier Open project: webmozart/console Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( IO $io ) Creates a new composite output.
getFormatter ( )
getIO ( ) : IO Returns the standard output.
getVerbosity ( )
isDebug ( )
isDecorated ( )
isQuiet ( )
isVerbose ( )
isVeryVerbose ( )
setDecorated ( $decorated )
setFormatter ( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter )
setVerbosity ( $level )
write ( $messages, $newline = false, $type = self::OUTPUT_NORMAL )
writeln ( $messages, $type = self::OUTPUT_NORMAL )

Private Methods

Méthode Description
doWrite ( $message, $type )
doWriteLine ( $message, $type )

Method Details

__construct() public méthode

Creates a new composite output.
public __construct ( IO $io )
$io Webmozart\Console\Api\IO\IO The I/O.

getFormatter() public méthode

public getFormatter ( )

getIO() public méthode

Returns the standard output.
public getIO ( ) : IO
Résultat Webmozart\Console\Api\IO\IO The standard output.

getVerbosity() public méthode

public getVerbosity ( )

isDebug() public méthode

public isDebug ( )

isDecorated() public méthode

public isDecorated ( )

isQuiet() public méthode

public isQuiet ( )

isVerbose() public méthode

public isVerbose ( )

isVeryVerbose() public méthode

public isVeryVerbose ( )

setDecorated() public méthode

public setDecorated ( $decorated )

setFormatter() public méthode

public setFormatter ( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter )
$formatter Symfony\Component\Console\Formatter\OutputFormatterInterface

setVerbosity() public méthode

public setVerbosity ( $level )

write() public méthode

public write ( $messages, $newline = false, $type = self::OUTPUT_NORMAL )

writeln() public méthode

public writeln ( $messages, $type = self::OUTPUT_NORMAL )