protected function createStepsFromConfig()
    {
        $config = $this->app['config'];
        $stepClasses = $config->get('setup_wizard.steps');

        if (empty($stepClasses)) throw new \RuntimeException('The setup wizard requires at least 1 step in configuration');

        $steps = [];
        $i = 0;
        foreach ($stepClasses as $id => $stepClass) {
            $s = new $stepClass($id);
            $steps[$id] = $s;
            ++$i;
        }

        return $steps;
    }