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 a device to load?
if (!isset($engine->options->device)) {
// nothing to do
return;
}
$deviceName = $engine->options->device;
$injectables->initActiveDevice($deviceName, $injectables);
}