DataSift\Storyplayer\Cli\Feature_DefinesSupport::initBeforeModulesAvailable PHP Метод

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

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)
    {
        // do we have any defines from the command-line to merge in?
        //
        // this must be done AFTER all config files have been loaded!
        if (isset($engine->options->defines)) {
            // merge into the default + what was loaded from config files
            $injectables->activeConfig->mergeData('', $engine->options->defines);
        }
    }