DataSift\Storyplayer\Console\DefaultConsole::endPhase PHP Method

endPhase() public method

called when a story ends a phase
public endPhase ( $phase, $phaseResult ) : void
return void
    public function endPhase($phase, $phaseResult)
    {
        // shorthand
        $phaseType = $phase->getPhaseType();
        // we're only interested in telling the user about the
        // phases of a story
        if ($phaseType !== Phase::STORY_PHASE) {
            return;
        }
        // tell the user
        $this->write(' ');
    }