PHP Класс DataSift\Storyplayer\OutputLib\OutputPlugin

Автор: Stuart Herbert ([email protected])
Показать файл Открыть проект

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

Свойство Тип Описание
$writer

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

Метод Описание
__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

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

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

public __construct ( )

addOutputToFile() публичный метод

public addOutputToFile ( string $filename ) : void
$filename string
Результат void

addOutputToStderr() публичный метод

public addOutputToStderr ( ) : void
Результат void

addOutputToStdout() публичный метод

public addOutputToStdout ( ) : void
Результат void

disableColourSupport() публичный метод

public disableColourSupport ( ) : void
Результат void

enableColourSupport() публичный метод

public enableColourSupport ( ) : void
Результат void

endPhase() абстрактный публичный метод

abstract public endPhase ( $phase, $phaseResult ) : void
Результат void

endPhaseGroup() абстрактный публичный метод

abstract public endPhaseGroup ( $result ) : void
Результат void

endStoryplayer() абстрактный публичный метод

abstract public endStoryplayer ( $duration ) : void
Результат void

enforceColourSupport() публичный метод

public enforceColourSupport ( ) : void
Результат void

getWriter() публичный метод

public getWriter ( ) : OutputWriter
Результат OutputWriter

logCliError() абстрактный публичный метод

abstract public logCliError ( string $msg ) : void
$msg string
Результат void

logCliErrorWithException() абстрактный публичный метод

abstract public logCliErrorWithException ( string $msg, Exception $e ) : void
$msg string
$e Exception
Результат void

logCliInfo() абстрактный публичный метод

abstract public logCliInfo ( string $msg ) : void
$msg string
Результат void

logCliWarning() абстрактный публичный метод

abstract public logCliWarning ( string $msg ) : void
$msg string
Результат void

logPhaseActivity() абстрактный публичный метод

abstract public logPhaseActivity ( string $msg ) : void
$msg string
Результат void

logPhaseError() абстрактный публичный метод

abstract public logPhaseError ( string $phaseName, string $msg ) : void
$phaseName string
$msg string
Результат void

logPhaseSkipped() абстрактный публичный метод

abstract public logPhaseSkipped ( string $phaseName, string $msg ) : void
$phaseName string
$msg string
Результат void

logPhaseSubprocessOutput() абстрактный публичный метод

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
Результат void

logVardump() абстрактный публичный метод

abstract public logVardump ( string $name, $var ) : void
$name string
Результат void

resetSilentMode() абстрактный публичный метод

abstract public resetSilentMode ( ) : void
Результат void

setSilentMode() абстрактный публичный метод

abstract public setSilentMode ( ) : void
Результат void

startPhase() абстрактный публичный метод

abstract public startPhase ( $phase ) : void
Результат void

startPhaseGroup() абстрактный публичный метод

abstract public startPhaseGroup ( $activity, $name ) : void
Результат void

startStoryplayer() абстрактный публичный метод

abstract public startStoryplayer ( string $version, string $url, string $copyright, string $license ) : void
$version string
$url string
$copyright string
$license string
Результат void

write() публичный метод

public write ( string $output, array | null $style = null ) : void
$output string
$style array | null
Результат void

writeDuration() публичный метод

public writeDuration ( float $duration, array | null $style = null ) : void
$duration float
$style array | null
Результат void

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

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

protected $writer