DataSift\Storyplayer\Phases\ShutdownHandlersPhase::doPhase PHP Метод

doPhase() публичный Метод

public doPhase ( $phaseResults )
    public function doPhase($phaseResults)
    {
        // shorthand
        $st = $this->st;
        // our result object
        $phaseResult = $this->getNewPhaseResult();
        // we're going to use a helper to do the work
        //
        // if the helper encounters a serious problem, it will abort
        // the whole program itself
        $helper = new TableHandlersHelper();
        $helper->runHandlers($st, 'shutdown');
        // if we get here, then all is well
        $phaseResult->setContinuePlaying();
        return $phaseResult;
    }
ShutdownHandlersPhase