PHP Class GracefulDeath\Builder

ファイルを表示 Open project: gabrielelana/graceful-death

Public Methods

Method Description
__construct ( $main )
afterDeath ( $whatToDo )
afterNaturalDeath ( $whatToDo )
afterViolentDeath ( $whatToDo )
avoidFutileMedicalCare ( $numberOfFailures = 6, $inAmountOfTime = 60 )
catchSignals ( $signals )
doNotCaptureOutput ( )
doNotEchoOutput ( )
doNotReanimate ( )
giveMeAnotherChance ( )
liveForever ( )
reanimationPolicy ( $policy )
run ( )
sayGoodbyeToYourLovedOnce ( $whatToDo )

Private Methods

Method Description
toLastAct ( $whatToDo )
toReanimationPolicy ( $policy )

Method Details

__construct() public method

public __construct ( $main )

afterDeath() public method

public afterDeath ( $whatToDo )

afterNaturalDeath() public method

public afterNaturalDeath ( $whatToDo )

afterViolentDeath() public method

public afterViolentDeath ( $whatToDo )

avoidFutileMedicalCare() public method

public avoidFutileMedicalCare ( $numberOfFailures = 6, $inAmountOfTime = 60 )

catchSignals() public method

public catchSignals ( $signals )

doNotCaptureOutput() public method

public doNotCaptureOutput ( )

doNotEchoOutput() public method

public doNotEchoOutput ( )

doNotReanimate() public method

public doNotReanimate ( )

giveMeAnotherChance() public method

public giveMeAnotherChance ( )

liveForever() public method

public liveForever ( )

reanimationPolicy() public method

public reanimationPolicy ( $policy )

run() public method

public run ( )

sayGoodbyeToYourLovedOnce() public method

public sayGoodbyeToYourLovedOnce ( $whatToDo )