Sample module

This commit is contained in:
Nabeel Shahzad
2017-12-01 14:38:30 -06:00
parent a829bf7678
commit 21c7fa4dc6
15 changed files with 385 additions and 1 deletions

17
modules/Sample/start.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
/*
|--------------------------------------------------------------------------
| Register Namespaces And Routes
|--------------------------------------------------------------------------
|
| When a module starting, this file will executed automatically. This helps
| to register some namespaces like translator or view. Also this file
| will load the routes file for each module. You may also modify
| this file as you want.
|
*/
/*if (!app()->routesAreCached()) {
require __DIR__ . '/Http/routes.php';
}*/