DataSift\Storyplayer\Cli\Feature_VerboseSupport::initBeforeModulesAvailable PHP Method

initBeforeModulesAvailable() public method

public initBeforeModulesAvailable ( Phix_Project\CliEngine $engine, Phix_Project\CliEngine\CliCommand $command, DataSift\Storyplayer\Injectables $injectables )
$engine Phix_Project\CliEngine
$command Phix_Project\CliEngine\CliCommand
$injectables DataSift\Storyplayer\Injectables
    public function initBeforeModulesAvailable(CliEngine $engine, CliCommand $command, Injectables $injectables)
    {
        // have we been asked to increase verbosity?
        if (!isset($engine->options->verbose) || !$engine->options->verbose) {
            $injectables->dataFormatter->setIsVerbose(false);
        } else {
            $injectables->dataFormatter->setIsVerbose(true);
        }
    }