PHP Class DataSift\Storyplayer\Console\Console

Inheritance: extends DataSift\Storyplayer\OutputLib\OutputPlugin
Show file Open project: datasift/storyplayer Class Usage Examples

Protected Properties

Property Type Description
$results array(PhaseGroup_Result)

Public Methods

Method Description
isSilent ( )
resetSilentMode ( )
setSilentMode ( )
writeFinalReport ( $duration, $summary ) : void called when Storyplayer exits

Protected Methods

Method Description
showActivityForPhase ( Story $story, Phase_Result $phaseResult )
writeActivity ( $message, $codeLine = null, $timestamp = null )
writeDetailedErrorReport ( $result )
writePhaseGroupFailed ( $msg = 'FAIL' )
writePhaseGroupSkipped ( $msg = 'SKIP' )
writePhaseGroupSucceeded ( $msg = 'OKAY' )

Method Details

isSilent() public method

public isSilent ( )

resetSilentMode() public method

public resetSilentMode ( )

setSilentMode() public method

public setSilentMode ( )

showActivityForPhase() protected method

protected showActivityForPhase ( Story $story, Phase_Result $phaseResult )
$story DataSift\Storyplayer\PlayerLib\Story
$phaseResult DataSift\Storyplayer\PlayerLib\Phase_Result

writeActivity() protected method

protected writeActivity ( $message, $codeLine = null, $timestamp = null )

writeDetailedErrorReport() protected method

protected writeDetailedErrorReport ( $result )

writeFinalReport() public method

called when Storyplayer exits
public writeFinalReport ( $duration, $summary ) : void
return void

writePhaseGroupFailed() protected method

protected writePhaseGroupFailed ( $msg = 'FAIL' )

writePhaseGroupSkipped() protected method

protected writePhaseGroupSkipped ( $msg = 'SKIP' )

writePhaseGroupSucceeded() protected method

protected writePhaseGroupSucceeded ( $msg = 'OKAY' )

Property Details

$results protected property

protected array(PhaseGroup_Result) $results
return array(PhaseGroup_Result)