diff --git a/src/Console/Commands/CreateViewGroup.php b/src/Console/Commands/CreateViewGroup.php new file mode 100644 index 0000000..2066e2c --- /dev/null +++ b/src/Console/Commands/CreateViewGroup.php @@ -0,0 +1,30 @@ +views = []; + parent::__construct($request); + } + + public function getSelectedView() + { + // TODO: Implement getSelectedView() method. + } +} diff --git a/src/Console/Commands/Stubs/ussd_view_validator.stub b/src/Console/Commands/Stubs/ussd_view_validator.stub new file mode 100644 index 0000000..d54792d --- /dev/null +++ b/src/Console/Commands/Stubs/ussd_view_validator.stub @@ -0,0 +1,17 @@ +views = []; + parent::__construct($request); + } + + function getValidView() + { + // TODO: Implement getValidView() method. + } + +} diff --git a/src/UssdServiceProvider.php b/src/UssdServiceProvider.php index 621196f..6982563 100644 --- a/src/UssdServiceProvider.php +++ b/src/UssdServiceProvider.php @@ -8,6 +8,8 @@ use CyberSai\LaravelUssd\Console\Commands\CreateModel; use CyberSai\LaravelUssd\Console\Commands\CreateSimpleView; use CyberSai\LaravelUssd\Console\Commands\CreateTitledView; +use CyberSai\LaravelUSSD\Console\Commands\CreateViewGroup; +use CyberSai\LaravelUSSD\Console\Commands\CreateViewValidator; use Illuminate\Support\ServiceProvider; class UssdServiceProvider extends ServiceProvider @@ -29,7 +31,9 @@ public function boot() CreateSimpleView::class, CreateTitledView::class, CreateListView::class, - CreateController::class + CreateController::class, + CreateViewGroup::class, + CreateViewValidator::class ]); } } @@ -41,4 +45,4 @@ public function register() { $this->mergeConfigFrom(__DIR__ . '/../config/ussd.php', 'config'); } -} \ No newline at end of file +}