PHP Class DataSift\Storyplayer\OutputLib\OutputPlugin

Afficher le fichier Open project: datasift/storyplayer

Protected Properties

Свойство Type Description
$writer

Méthodes publiques

Méthode Description
__construct ( )
addOutputToFile ( string $filename ) : void
addOutputToStderr ( ) : void
addOutputToStdout ( ) : void
disableColourSupport ( ) : void
enableColourSupport ( ) : void
endPhase ( $phase, $phaseResult ) : void
endPhaseGroup ( $result ) : void
endStoryplayer ( $duration ) : void
enforceColourSupport ( ) : void
getWriter ( ) : OutputWriter
logCliError ( string $msg ) : void
logCliErrorWithException ( string $msg, Exception $e ) : void
logCliInfo ( string $msg ) : void
logCliWarning ( string $msg ) : void
logPhaseActivity ( string $msg ) : void
logPhaseError ( string $phaseName, string $msg ) : void
logPhaseSkipped ( string $phaseName, string $msg ) : void
logPhaseSubprocessOutput ( string $msg ) : void called when a story logs the (possibly partial) output from running a subprocess
logVardump ( string $name, $var ) : void
resetSilentMode ( ) : void
setSilentMode ( ) : void
startPhase ( $phase ) : void
startPhaseGroup ( $activity, $name ) : void
startStoryplayer ( string $version, string $url, string $copyright, string $license ) : void
write ( string $output, array | null $style = null ) : void
writeDuration ( float $duration, array | null $style = null ) : void

Method Details

__construct() public méthode

public __construct ( )

addOutputToFile() public méthode

public addOutputToFile ( string $filename ) : void
$filename string
Résultat void

addOutputToStderr() public méthode

public addOutputToStderr ( ) : void
Résultat void

addOutputToStdout() public méthode

public addOutputToStdout ( ) : void
Résultat void

disableColourSupport() public méthode

public disableColourSupport ( ) : void
Résultat void

enableColourSupport() public méthode

public enableColourSupport ( ) : void
Résultat void

endPhase() abstract public méthode

abstract public endPhase ( $phase, $phaseResult ) : void
Résultat void

endPhaseGroup() abstract public méthode

abstract public endPhaseGroup ( $result ) : void
Résultat void

endStoryplayer() abstract public méthode

abstract public endStoryplayer ( $duration ) : void
Résultat void

enforceColourSupport() public méthode

public enforceColourSupport ( ) : void
Résultat void

getWriter() public méthode

public getWriter ( ) : OutputWriter
Résultat OutputWriter

logCliError() abstract public méthode

abstract public logCliError ( string $msg ) : void
$msg string
Résultat void

logCliErrorWithException() abstract public méthode

abstract public logCliErrorWithException ( string $msg, Exception $e ) : void
$msg string
$e Exception
Résultat void

logCliInfo() abstract public méthode

abstract public logCliInfo ( string $msg ) : void
$msg string
Résultat void

logCliWarning() abstract public méthode

abstract public logCliWarning ( string $msg ) : void
$msg string
Résultat void

logPhaseActivity() abstract public méthode

abstract public logPhaseActivity ( string $msg ) : void
$msg string
Résultat void

logPhaseError() abstract public méthode

abstract public logPhaseError ( string $phaseName, string $msg ) : void
$phaseName string
$msg string
Résultat void

logPhaseSkipped() abstract public méthode

abstract public logPhaseSkipped ( string $phaseName, string $msg ) : void
$phaseName string
$msg string
Résultat void

logPhaseSubprocessOutput() abstract public méthode

called when a story logs the (possibly partial) output from running a subprocess
abstract public logPhaseSubprocessOutput ( string $msg ) : void
$msg string the output to log
Résultat void

logVardump() abstract public méthode

abstract public logVardump ( string $name, $var ) : void
$name string
Résultat void

resetSilentMode() abstract public méthode

abstract public resetSilentMode ( ) : void
Résultat void

setSilentMode() abstract public méthode

abstract public setSilentMode ( ) : void
Résultat void

startPhase() abstract public méthode

abstract public startPhase ( $phase ) : void
Résultat void

startPhaseGroup() abstract public méthode

abstract public startPhaseGroup ( $activity, $name ) : void
Résultat void

startStoryplayer() abstract public méthode

abstract public startStoryplayer ( string $version, string $url, string $copyright, string $license ) : void
$version string
$url string
$copyright string
$license string
Résultat void

write() public méthode

public write ( string $output, array | null $style = null ) : void
$output string
$style array | null
Résultat void

writeDuration() public méthode

public writeDuration ( float $duration, array | null $style = null ) : void
$duration float
$style array | null
Résultat void

Property Details

$writer protected_oe property

protected $writer